aboutsummaryrefslogtreecommitdiff
path: root/unix.h
blob: 57d1cfc26ba486836013cd2af7fdeae96072887c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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>
#include <stdio.h>


// takes filename, returns socket fd
// or -1 on failure.
int unix_setup(char sockname[]);

#endif // unix_h_INCLUDED