summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fastd.c b/src/fastd.c
index a3c6d14..5542ea8 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -311,6 +311,7 @@ static inline void maintenance(void) {
}
+/** Closes all open FDs except stdin, stdout and stderr */
void fastd_close_all_fds(void) {
struct rlimit rl;
int fd, maxfd;