1234567891011121314151617181920212223242526272829303132333435 |
- #include <stdio.h>
- #include <stdlib.h>
- #include "../misc/internals/tempname.h"
- char *mktemp(char *template)
- {
- if (__gen_tempname (template, __GT_NOCREATE) < 0)
-
- template[0] = '\0';
- return template;
- }
- link_warning(mktemp, "the use of `mktemp' is dangerous, better use `mkstemp'")
|