aboutsummaryrefslogtreecommitdiff
path: root/unix.h
blob: 410911e153cead6ca20d7b0d9c010a7bb3245f8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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