annotate lib/cloexec.h @ 10531:e83a90adf243

Override fopen more carefully.
author Bruno Haible <bruno@clisp.org>
date Sun, 28 Sep 2008 16:12:20 +0200
parents 87f0b7b6d498
children f203ad5f7ea8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4979
6b9af4133e6f Merge changes to getloadavg.c from coreutils and Emacs; this
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
1 #include <stdbool.h>
4982
87f0b7b6d498 cloexec returns int not bool, to be more consistent with Unix conventions.
Paul Eggert <eggert@cs.ucla.edu>
parents: 4979
diff changeset
2 int set_cloexec_flag (int desc, bool value);