diff options
author | Max Kellermann <max@duempel.org> | 2009-11-07 19:02:53 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-07 19:02:53 +0100 |
commit | 1573ea1485e809557bd9c8777a794d394fbc79c7 (patch) | |
tree | 220b3c5669bc7653db067d81e0ac14e19076f8ca /src/fd_util.h | |
parent | e3af0032b236dc52d4a74c4d740e57a1f6d520aa (diff) | |
download | mpd-1573ea1485e809557bd9c8777a794d394fbc79c7.tar.gz mpd-1573ea1485e809557bd9c8777a794d394fbc79c7.tar.xz mpd-1573ea1485e809557bd9c8777a794d394fbc79c7.zip |
inotify: set close-on-exec flag
Added wrapper for inotify_init1() to fd_util.c.
Diffstat (limited to '')
-rw-r--r-- | src/fd_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fd_util.h b/src/fd_util.h index 805d1cc3d..99479a0cf 100644 --- a/src/fd_util.h +++ b/src/fd_util.h @@ -50,4 +50,7 @@ socket_cloexec(int domain, int type, int protocol); int accept_cloexec(int fd, struct sockaddr *address, size_t *address_length_r); +int +inotify_init_cloexec(void); + #endif |