|
|
1.1 root 1: /* @(#)tmpnam.c 4.1 (Berkeley) 12/21/80 */
2: char *tmpnam(s)
3: char *s;
4: {
5: static seed;
6:
7: sprintf(s, "temp.%d.%d", getpid(), seed++);
8: return(s);
9: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.