Searched refs:tempFile (Results 1 - 4 of 4) sorted by relevance
| /xsrc/external/mit/xsm/dist/ |
| H A D | auth.c | 98 char tempFile[PATH_MAX]; 101 snprintf (tempFile, sizeof(tempFile), "%s/%sXXXXXX", path, prefix); 102 tmp = (char *) mktemp (tempFile); 111 char tempFile[PATH_MAX]; 114 snprintf (tempFile, sizeof(tempFile), "%s/%sXXXXXX", path, prefix); 115 ptr = strdup(tempFile);
|
| /xsrc/external/mit/smproxy/dist/ |
| H A D | save.c | 347 char *tempFile = NULL; 351 if (asprintf (&tempFile, "%s/%sXXXXXX", path, prefix) == -1) 356 tempFd = mkstemp(tempFile); 360 if (mktemp(tempFile) == NULL) 363 tempFile = tempnam (path, prefix); 366 if (tempFd != -1 && tempFile != NULL) 367 tempFd = open(tempFile, O_RDWR | O_CREAT | O_EXCL, 0600); 371 free(tempFile); 376 return tempFile; 343 char *tempFile = NULL; local in function:unique_filename
|
| /xsrc/external/mit/twm/dist/src/ |
| H A D | session.c | 647 char tempFile[PATH_MAX]; 650 snprintf(tempFile, sizeof(tempFile), "%s/%sXXXXXX", path, prefix); 651 tmp = (char *) mktemp(tempFile); 658 char tempFile[PATH_MAX]; 661 snprintf(tempFile, sizeof(tempFile), "%s/%sXXXXXX", path, prefix); 662 ptr = strdup(tempFile);
|
| /xsrc/external/mit/ctwm/dist/ |
| H A D | session.c | 856 char *tempFile; 859 asprintf(&tempFile, "%s/%sXXXXXX", path, prefix); 861 *fd = mkstemp(tempFile); 864 return tempFile; 867 free(tempFile);
|
Completed in 11 milliseconds