diff options
Diffstat (limited to 'unix.h')
-rw-r--r-- | unix.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +#ifndef unix_h_INCLUDED +#define unix_h_INCLUDED + +#include <sys/types.h> +#include <grp.h> +#include <sys/stat.h> +#include <unistd.h> +#include <sys/socket.h> +#include <sys/un.h> + + +// takes filename, returns socket fd +// or -1 on failure. +int unix_setup(char sockname[]); + +#endif // unix_h_INCLUDED + |