*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: mktemp | Section: 3 | Source: UNIX v10 | File: mktemp.3
MKTEMP(3) Library Functions Manual MKTEMP(3) NAME mktemp, tmpnam - make a unique file name SYNOPSIS char *mktemp(template) char *template; #include <tmpnam.h> char *tmpnam(s) char s[L_tmpnam]; DESCRIPTION Mktemp replaces template by a unique file name, and returns the address of the template. The template should look like a file name with six trailing which will be replaced with the current process id and a unique letter. Tmpnam places in the string pointed to by s a unique file name refer- ring to the standard directory for temporary files and returns s. If s is 0, tmpnam returns the address of a fixed internal buffer that con- tains the name. (Note: it is bad form to leave files in the temporary directory.) SEE ALSO getpid in getuid(2) BUGS After many calls to tmpnam, the resulting filenames may have strange characters. MKTEMP(3)

Navigation Options