- (djm) NeXT: dirent structures to get scp working from Ben Lindstrom
<mouring@pconline.com>
This commit is contained in:
parent
2ae714f44a
commit
99bca607dc
|
@ -2,6 +2,8 @@
|
||||||
- (djm) Fixup for AIX getuserattr() support from Tom Bertelson
|
- (djm) Fixup for AIX getuserattr() support from Tom Bertelson
|
||||||
<tbert@abac.com>
|
<tbert@abac.com>
|
||||||
- (djm) ReliantUNIX support from Udo Schweigert <ust@cert.siemens.de>
|
- (djm) ReliantUNIX support from Udo Schweigert <ust@cert.siemens.de>
|
||||||
|
- (djm) NeXT: dirent structures to get scp working from Ben Lindstrom
|
||||||
|
<mouring@pconline.com>
|
||||||
|
|
||||||
20000709
|
20000709
|
||||||
- (djm) Only enable PAM_TTY kludge for Linux. Problem report from
|
- (djm) Only enable PAM_TTY kludge for Linux. Problem report from
|
||||||
|
|
16
next-posix.h
16
next-posix.h
|
@ -10,6 +10,20 @@
|
||||||
#include <libc.h>
|
#include <libc.h>
|
||||||
#include <sys/dir.h>
|
#include <sys/dir.h>
|
||||||
|
|
||||||
|
#define NAME_MAX 255
|
||||||
|
struct dirent {
|
||||||
|
off_t d_off;
|
||||||
|
unsigned long d_fileno;
|
||||||
|
unsigned short d_reclen;
|
||||||
|
unsigned short d_namlen;
|
||||||
|
char d_name[NAME_MAX + 1];
|
||||||
|
};
|
||||||
|
|
||||||
|
struct utimbuf {
|
||||||
|
time_t actime;
|
||||||
|
time_t modtime;
|
||||||
|
};
|
||||||
|
|
||||||
/* FILE */
|
/* FILE */
|
||||||
#define O_NONBLOCK 00004 /* non-blocking open */
|
#define O_NONBLOCK 00004 /* non-blocking open */
|
||||||
|
|
||||||
|
@ -38,5 +52,7 @@ int tcsetpgrp(int fd, pid_t pgrp);
|
||||||
speed_t cfgetospeed(const struct termios *t);
|
speed_t cfgetospeed(const struct termios *t);
|
||||||
speed_t cfgetispeed(const struct termios *t);
|
speed_t cfgetispeed(const struct termios *t);
|
||||||
int cfsetospeed(struct termios *t,int speed);
|
int cfsetospeed(struct termios *t,int speed);
|
||||||
|
|
||||||
|
|
||||||
#endif /* HAVE_NEXT */
|
#endif /* HAVE_NEXT */
|
||||||
#endif /* _NEXT_POSIX_H */
|
#endif /* _NEXT_POSIX_H */
|
||||||
|
|
Loading…
Reference in New Issue