summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-29 23:08:01 +0100
committerFelix Fietkau <nbd@openwrt.org>2012-10-29 23:08:01 +0100
commitc173c610044890c539584f3beb927e71ff83c198 (patch)
treeacdedacb864ba6bbabe6bc928ed83a0dc22b78be /system.h
parenta9fd870450e82f31cba681651656276dfc1c39ac (diff)
downloadnetifd-c173c610044890c539584f3beb927e71ff83c198.tar.gz
use FD_CLOEXEC instead of tracking lists of fds
Diffstat (limited to 'system.h')
-rw-r--r--system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/system.h b/system.h
index 7716fbd..bc1b932 100644
--- a/system.h
+++ b/system.h
@@ -99,4 +99,6 @@ int system_add_ip_tunnel(const char *name, struct blob_attr *attr);
time_t system_get_rtime(void);
+void system_fd_set_cloexec(int fd);
+
#endif