summaryrefslogtreecommitdiff
path: root/src/unistd/_unistd.h
blob: 87cdd8f187d578d607791a53769993a484da35d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef ___UNISTD_H__
#define ___UNISTD_H__

#include <sys/types.h>
#include <unistd.h>
#include <limits.h>

#ifndef PATH_MAX
#define PATH_MAX _POSIX_PATH_MAX
#endif

struct __unistd {
	char ttyname[PATH_MAX + 1];
};

extern struct __unistd __unistd;

#endif