summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-06 23:35:59 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-06 23:35:59 +0200
commita0d40ac588701010ea6a9366f6a874e83844858e (patch)
treec50229adee7a3dec87b966cb36c6f6a164a05c34 /util.h
parent2882c7eda072e218516df584d2489f996d01dcf6 (diff)
util: move close_all_fds() to util.c
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.h b/util.h
index 772d7ae9ff..a1e79d47b1 100644
--- a/util.h
+++ b/util.h
@@ -175,6 +175,8 @@ bool ignore_file(const char *filename);
int fd_nonblock(int fd, bool nonblock);
int fd_cloexec(int fd, bool cloexec);
+int close_all_fds(const int except[], unsigned n_except);
+
const char *ioprio_class_to_string(int i);
int ioprio_class_from_string(const char *s);