mkstemp
int mkstemp(char *path) #include #include #include #include #include #include #include #include static int _gettemp(char *, int *, int, int); int mkstemps(char *path, int slen) { int fd; return (_gettemp(path, &fd, 0, slen) ? fd : -1); } int mkstemp(char *path) { int fd; return (_gettemp(path, &fd, 0, 0) ? fd : -1); } char * mkdtemp(char *path) { return(_gettemp(path, (int *)NULL, 1, 0) ? path :..
2016. 7. 9.