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