peapod  0.1.0
EAPOL Proxy Daemon
Functions
peapod.h File Reference

Function prototypes for peapod.c. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int peapod_close_fds (void)
 Close all open file descriptors except stdin, stdout, and stderr. More...
 
int peapod_redir_stdfds (void)
 Redirect stdin, stdout, and stderr to /dev/null. More...
 

Detailed Description

Function prototypes for peapod.c.

Function Documentation

int peapod_close_fds ( void  )

Close all open file descriptors except stdin, stdout, and stderr.

Returns
0 if successful, or -1 if unsuccessful
int peapod_redir_stdfds ( void  )

Redirect stdin, stdout, and stderr to /dev/null.

Returns
0 if successful, or -1 if unsuccessful