comparison liboctave/tempnam.c @ 10317:42d098307c30

untabify additional source files
author John W. Eaton <jwe@octave.org>
date Thu, 11 Feb 2010 13:30:42 -0500
parents 4c8a2e4e0717
children 3d8ace26c5b4
comparison
equal deleted inserted replaced
10316:9966f1f71c32 10317:42d098307c30
26 #include <stdio.h> 26 #include <stdio.h>
27 #include <stdlib.h> 27 #include <stdlib.h>
28 #include <string.h> 28 #include <string.h>
29 29
30 extern char *__stdio_gen_tempname (const char *dir, const char *pfx, 30 extern char *__stdio_gen_tempname (const char *dir, const char *pfx,
31 int dir_search, size_t *lenptr, 31 int dir_search, size_t *lenptr,
32 FILE **streamptr); 32 FILE **streamptr);
33 33
34 /* Generate a unique temporary filename using up to five characters of PFX 34 /* Generate a unique temporary filename using up to five characters of PFX
35 if it is not NULL. The directory to put this file in is searched for 35 if it is not NULL. The directory to put this file in is searched for
36 as follows: First the environment variable "TMPDIR" is checked. 36 as follows: First the environment variable "TMPDIR" is checked.
37 If it contains the name of a writable directory, that directory is used. 37 If it contains the name of a writable directory, that directory is used.