| 252 | */ |
| 253 | |
| 254 | OBJECT * path_tmpnam( void ) |
| 255 | { |
| 256 | char name_buffer[ 64 ]; |
| 257 | unsigned long const pid = path_get_process_id_(); |
| 258 | static unsigned long t; |
| 259 | if ( !t ) t = time( 0 ) & 0xffff; |
| 260 | t += 1; |
| 261 | sprintf( name_buffer, "jam%lx%lx.000", pid, t ); |
| 262 | return object_new( name_buffer ); |
| 263 | } |
| 264 | |
| 265 | |
| 266 | /* |
no test coverage detected