From 39423523167c47f72822dbb9eb3ab4a0dfeafe68 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 26 Sep 2001 18:45:50 +0000 Subject: merge from gcc --- libiberty/tmpnam.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'libiberty/tmpnam.c') diff --git a/libiberty/tmpnam.c b/libiberty/tmpnam.c index 8eb77e2..99615df 100644 --- a/libiberty/tmpnam.c +++ b/libiberty/tmpnam.c @@ -1,3 +1,17 @@ +/* + +@deftypefn Supplemental char* tmpnam (char *@var{s}) + +This function attempts to create a name for a temporary file, which +will be a valid file name yet not exist when @code{tmpnam} checks for +it. @var{s} must point to a buffer of at least @code{L_tmpnam} bytes, +or be NULL. Use of this function creates a security risk, and it must +not be used in new projects. Use @code{mkstemp} instead. + +@end deftypefn + +*/ + #include #ifndef L_tmpnam -- cgit v1.1