summaryrefslogtreecommitdiff
path: root/next-posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'next-posix.h')
-rw-r--r--next-posix.h16
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
14struct 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
22struct 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);
38speed_t cfgetospeed(const struct termios *t); 52speed_t cfgetospeed(const struct termios *t);
39speed_t cfgetispeed(const struct termios *t); 53speed_t cfgetispeed(const struct termios *t);
40int cfsetospeed(struct termios *t,int speed); 54int 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 */