Mercurial > hg > octave-kai > gnulib-hg
annotate lib/cloexec.h @ 4982:87f0b7b6d498
cloexec returns int not bool, to be more consistent with Unix conventions.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 30 Mar 2004 23:59:03 +0000 |
parents | 6b9af4133e6f |
children | f203ad5f7ea8 |
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); |