From 96e1b38586e80a0f014038bf4fdf4689c668fbd6 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 30 Sep 2007 23:50:48 +0000 Subject: introduce and use close_on_exec_on(fd). -50 bytes. --- include/libbb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libbb.h') diff --git a/include/libbb.h b/include/libbb.h index e3f9c4957..a8463ae49 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -248,6 +248,7 @@ extern char *bb_get_last_path_component_nostrip(const char *path); int ndelay_on(int fd); int ndelay_off(int fd); +int close_on_exec_on(int fd); void xdup2(int, int); void xmove_fd(int, int); -- cgit v1.2.3