1234567891011121314151617181920212223242526272829303132333435 |
- #include <stdio.h>
- #include "../misc/internals/tempname.h"
- char * tmpnam_r (char *s)
- {
- if (s == NULL)
- return NULL;
- if (__path_search (s, L_tmpnam, NULL, NULL, 0))
- return NULL;
- if (__gen_tempname (s, __GT_NOCREATE))
- return NULL;
- return s;
- }
|