函数名: mktemp 
 功  能: 建立唯一的文件名 
 用  法: #include <dir.h> 
         char *mktemp(char *template); 
 程序例: 
#include <dir.h> 
 #include <stdio.h> 
int main(void) 
 { 
    /* fname defines the template for the 
      temporary file.  */ 
char *fname = "TXXXXXX", *ptr;
   ptr = mktemp(fname); 
    printf("%s\n",ptr); 
    return 0; 
 }