12345678910111213141516171819202122232425262728293031323334 |
- #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, 0, 0, 0))
- return NULL;
- return s;
- }
|