summaryrefslogtreecommitdiff
path: root/src/basic/fd-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-07-02 15:22:14 -0700
committerGitHub <noreply@github.com>2016-07-02 15:22:14 -0700
commitb1e67dfe31c6911820eac753f6461e1c9a00f26c (patch)
tree253c67693fe1b4897d92b90b994d3ae60c0ddecf /src/basic/fd-util.h
parente71af7931616601159f50c9029efc07ec347d73b (diff)
parent913f38e4402ad19529b13fdb56db77eaa2b9f30a (diff)
Merge pull request #3641 from 0xAX/unset-cloexec-for-stdfs
basic/fd-util: introduce stdio_unset_cloexec() function
Diffstat (limited to 'src/basic/fd-util.h')
-rw-r--r--src/basic/fd-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/fd-util.h b/src/basic/fd-util.h
index b86e41698a..34b98d4aec 100644
--- a/src/basic/fd-util.h
+++ b/src/basic/fd-util.h
@@ -63,6 +63,7 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(DIR*, closedir);
int fd_nonblock(int fd, bool nonblock);
int fd_cloexec(int fd, bool cloexec);
+void stdio_unset_cloexec(void);
int close_all_fds(const int except[], unsigned n_except);