peapod  0.1.0
EAPOL Proxy Daemon
peapod.h
Go to the documentation of this file.
1 /**
2  * @file peapod.h
3  * @brief Function prototypes for @p peapod.c
4  */
5 #pragma once
6 
7 int peapod_close_fds(void);
8 int peapod_redir_stdfds(void);
int peapod_redir_stdfds(void)
Redirect stdin, stdout, and stderr to /dev/null.
Definition: peapod.c:148
int peapod_close_fds(void)
Close all open file descriptors except stdin, stdout, and stderr.
Definition: peapod.c:133