diff options
author | Paul Smith <psmith@gnu.org> | 2013-04-16 00:35:48 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2013-04-16 01:03:59 -0400 |
commit | b5d017c6241ac356915b178d0a9588653d18d460 (patch) | |
tree | e101b46d62edb0881bb09fc5ddec6d6bd1ed891c /makeint.h | |
parent | 79e9347892dd2b6caa246e18fe050583da744bd8 (diff) | |
download | gunmake-b5d017c6241ac356915b178d0a9588653d18d460.tar.gz |
Create an open_tmpfd() function to return temp files by FD. Use it.
Diffstat (limited to 'makeint.h')
-rw-r--r-- | makeint.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -413,6 +413,7 @@ int alpha_compare (const void *, const void *); void print_spaces (unsigned int); char *find_percent (char *); const char *find_percent_cached (const char **); +int open_tmpfd (void); FILE *open_tmpfile (char **, const char *); #ifndef NO_ARCHIVES @@ -525,6 +526,10 @@ int strncasecmp (const char *s1, const char *s2, int n); # endif #endif +#ifdef POSIX +# define OUTPUT_SYNC +#endif + #define OUTPUT_SYNC_TARGET 1 #define OUTPUT_SYNC_MAKE 2 |