12345678910111213141516171819202122232425262728293031323334 |
- #include <stdio.h>
- #include <stdlib.h>
- extern int __gen_tempname (char *tmpl, int openit);
- char * mktemp (char *template)
- {
- if (__gen_tempname (template, 0) < 0)
-
- template[0] = '\0';
- return template;
- }
|