0
GGGiovanny Gongora
Create a temporary file inside /tmp folder
0 Comments
#include <stdlib.h> #include <string.h> char *ss = "/tmp/fileXXXXXX"; char *s = (char *)malloc(strlen(ss)); strcpy(s, ss); puts(mktemp(s)); free(s);