// -------------------------------------
#include <stdio.h>
int main () {
char buffer[L_tmpnam];
char *ptr;
tmpnam(buffer);
printf("Temporary name 1: %s/n", buffer);
ptr = tmpnam(NULL);
printf("Temporary name 2: %s/n", ptr);
return(0);
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/265232.html