Set close-on-exec flag for most file descriptors

This commit is contained in:
Eric Fischer
2016-12-07 10:57:56 -08:00
parent 7514797c4c
commit 87d86ecfc9
4 changed files with 51 additions and 28 deletions
+3
View File
@@ -16,3 +16,6 @@ extern size_t CPUS;
extern size_t TEMP_FILES;
extern size_t max_tile_size;
int mkstemp_cloexec(char *name);
FILE *fopen_oflag(const char *name, const char *mode, int oflag);