/[gnats]/gnats/libiberty/tmpnam.c
ViewVC logotype

Diff of /gnats/libiberty/tmpnam.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by jsm, Tue Oct 26 07:10:16 1999 UTC revision 1.3 by chewie, Sat Nov 13 05:14:17 2004 UTC
# Line 1  Line 1 
1    /*
2    
3    @deftypefn Supplemental char* tmpnam (char *@var{s})
4    
5    This function attempts to create a name for a temporary file, which
6    will be a valid file name yet not exist when @code{tmpnam} checks for
7    it.  @var{s} must point to a buffer of at least @code{L_tmpnam} bytes,
8    or be @code{NULL}.  Use of this function creates a security risk, and it must
9    not be used in new projects.  Use @code{mkstemp} instead.
10    
11    @end deftypefn
12    
13    */
14    
15  #include <stdio.h>  #include <stdio.h>
16    
17  #ifndef L_tmpnam  #ifndef L_tmpnam

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26