From 7e0f021a9aec35fd8e6725e87e3313b101d26f5e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 27 Jan 2008 11:37:44 +0100 Subject: Initial import (2.0.2-6) --- reference/C/MAN/tmpnam.htm | 100 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 reference/C/MAN/tmpnam.htm (limited to 'reference/C/MAN/tmpnam.htm') diff --git a/reference/C/MAN/tmpnam.htm b/reference/C/MAN/tmpnam.htm new file mode 100644 index 0000000..b9af953 --- /dev/null +++ b/reference/C/MAN/tmpnam.htm @@ -0,0 +1,100 @@ +tmpnam + +
+
+
+
+
+

TMPNAM(3) Linux Programmer's Manual TMPNAM(3) +

+ +

NAME +

tmpnam - create a name for a temporary file + +

SYNOPSIS +

#include <stdio.h> + + char *tmpnam(char *s); + +

DESCRIPTION +

The tmpnam() function generates a unique temporary file- + name using the path prefix P_tmpdir defined in <stdio.h>. + If the argument s is NULL, tmpnam() returns the address of + an internal static area which holds the filename, which is + overwritten by subsequent calls to tmpnam(). If s is not + NULL, the filename is returned in s. + +

RETURN VALUE +

The tmpnam() function returns a pointer to the unique tem- + porary filename, or NULL if a unique name cannot be gener- + ated. + +

ERRORS +

EEXIST Unable to generate a unique filename. + +

CONFORMING TO +

SVID 3, POSIX, BSD 4.3, ISO 9899 + +
+
+

SEE ALSO +

+mktemp, +mkstemp, +tempnam, +tmpfile, +

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

GNU April 3, 1993 1 +

+ +
+

+


+

+

+ + + + +
+Top + +Master Index + +Keywords + +Functions +
+
+

+


+ +This manual page was brought to you by mjl_man V-2.0 -- cgit v1.2.3-54-g00ecf