summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-07-11 12:02:36 +1000
committerDamien Miller <djm@mindrot.org>2000-07-11 12:02:36 +1000
commit99bca607dc48d9a96285cfc224cd9e883b246151 (patch)
tree77007f6de7e329e689a3dab2b95175c4dab2a061
parent2ae714f44a0757b8c9771aa686ead98738a3f960 (diff)
- (djm) NeXT: dirent structures to get scp working from Ben Lindstrom
<mouring@pconline.com>
-rw-r--r--ChangeLog2
-rw-r--r--next-posix.h16
2 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8567d3659..4afa18b15 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
2 - (djm) Fixup for AIX getuserattr() support from Tom Bertelson 2 - (djm) Fixup for AIX getuserattr() support from Tom Bertelson
3 <tbert@abac.com> 3 <tbert@abac.com>
4 - (djm) ReliantUNIX support from Udo Schweigert <ust@cert.siemens.de> 4 - (djm) ReliantUNIX support from Udo Schweigert <ust@cert.siemens.de>
5 - (djm) NeXT: dirent structures to get scp working from Ben Lindstrom
6 <mouring@pconline.com>
5 7
620000709 820000709
7 - (djm) Only enable PAM_TTY kludge for Linux. Problem report from 9 - (djm) Only enable PAM_TTY kludge for Linux. Problem report from
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 */