diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-04-16 12:57:52 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2024-04-16 12:57:52 +0000 |
commit | 825b80eaa311b0aec4c00614f38f3eb63949d5a7 (patch) | |
tree | 624f702487d9acdd3cc85060cfe2edc388cf7096 /src/sysdeps/tryocloexec.c | |
parent | bfc53cfde4fdda343647678fcd21b38a44f2de08 (diff) | |
download | skalibs-825b80eaa311b0aec4c00614f38f3eb63949d5a7.tar.xz |
Tentative support for old MacOS with no O_CLOEXEC
Also add a prototype for gol, not finished yet.
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/sysdeps/tryocloexec.c')
-rw-r--r-- | src/sysdeps/tryocloexec.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sysdeps/tryocloexec.c b/src/sysdeps/tryocloexec.c new file mode 100644 index 0000000..bd318ae --- /dev/null +++ b/src/sysdeps/tryocloexec.c @@ -0,0 +1,5 @@ +/* ISC license. */ + +#include <fcntl.h> + +int dummy = O_CLOEXEC ; |