diff options
Diffstat (limited to 'next-posix.h')
-rw-r--r-- | next-posix.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/next-posix.h b/next-posix.h index 511e04434..86683db59 100644 --- a/next-posix.h +++ b/next-posix.h | |||
@@ -10,6 +10,20 @@ | |||
10 | #include <libc.h> | 10 | #include <libc.h> |
11 | #include <sys/dir.h> | 11 | #include <sys/dir.h> |
12 | 12 | ||
13 | #define NAME_MAX 255 | ||
14 | struct dirent { | ||
15 | off_t d_off; | ||
16 | unsigned long d_fileno; | ||
17 | unsigned short d_reclen; | ||
18 | unsigned short d_namlen; | ||
19 | char d_name[NAME_MAX + 1]; | ||
20 | }; | ||
21 | |||
22 | struct utimbuf { | ||
23 | time_t actime; | ||
24 | time_t modtime; | ||
25 | }; | ||
26 | |||
13 | /* FILE */ | 27 | /* FILE */ |
14 | #define O_NONBLOCK 00004 /* non-blocking open */ | 28 | #define O_NONBLOCK 00004 /* non-blocking open */ |
15 | 29 | ||
@@ -38,5 +52,7 @@ int tcsetpgrp(int fd, pid_t pgrp); | |||
38 | speed_t cfgetospeed(const struct termios *t); | 52 | speed_t cfgetospeed(const struct termios *t); |
39 | speed_t cfgetispeed(const struct termios *t); | 53 | speed_t cfgetispeed(const struct termios *t); |
40 | int cfsetospeed(struct termios *t,int speed); | 54 | int cfsetospeed(struct termios *t,int speed); |
55 | |||
56 | |||
41 | #endif /* HAVE_NEXT */ | 57 | #endif /* HAVE_NEXT */ |
42 | #endif /* _NEXT_POSIX_H */ | 58 | #endif /* _NEXT_POSIX_H */ |