home *** CD-ROM | disk | FTP | other *** search
- diff -cr /src/mntinc36/PatchLev.h ./PatchLev.h
- *** /src/mntinc36/PatchLev.h Wed Sep 15 09:51:36 1993
- --- ./PatchLev.h Wed Sep 22 19:27:02 1993
- ***************
- *** 3,6 ****
- * directory.
- */
-
- ! #define _PatchLevel "36"
- --- 3,6 ----
- * directory.
- */
-
- ! #define _PatchLevel "37"
- diff -cr /src/mntinc36/errno.h ./errno.h
- *** /src/mntinc36/errno.h Sun Jul 18 08:10:32 1993
- --- ./errno.h Fri Oct 8 23:16:00 1993
- ***************
- *** 46,53 ****
- --- 46,55 ----
- #define EOTHER EIDISK /* " " */
- /* (gap) */
- #define EINVAL 32 /* invalid function number */
- + #define EOPNOTSUPP EINVAL /* " " " */
- #define ENOENT 33 /* file not found */
- #define ESRCH ENOENT /* pid not found */
- + #define ECHILD ENOENT /* no children (wait/waipid) */
- #define EPATH 34 /* path not found */
- #define ENOTDIR EPATH
- #define EMFILE 35 /* no more handles */
- diff -cr /src/mntinc36/file.h ./file.h
- *** /src/mntinc36/file.h Fri May 15 19:51:52 1992
- --- ./file.h Sat Oct 9 12:30:28 1993
- ***************
- *** 12,17 ****
- --- 12,20 ----
- #define LOCK_NB 4 /* non-blocking */
- #define LOCK_UN 8 /* unlock */
-
- + #define FREAD 1
- + #define FWRITE 2
- +
- __EXTERN int flock __PROTO((int, int));
- #endif
-
- diff -cr /src/mntinc36/ioctl.h ./ioctl.h
- *** /src/mntinc36/ioctl.h Mon Sep 13 06:10:42 1993
- --- ./ioctl.h Sun Oct 10 16:58:12 1993
- ***************
- *** 85,102 ****
-
- #define CRMOD 0x0001
- #define CBREAK 0x0002
- ! #define ECHO 0x0004
- #define XTABS 0x0008
- #define RAW 0x0010
- #define LCASE 0x0020 /* does nothing */
- #define TANDEM 0x1000
- #define EVENP 0x4000
- #define ODDP 0x8000
- #define ANYP (0)
- ! #endif
-
- ! /* Only ones that are likely to be used are here */
- ! /* ok, but emacs thinks it knows their value */
- #define B0 0
- #define B50 1
- #define B75 2
- --- 85,110 ----
-
- #define CRMOD 0x0001
- #define CBREAK 0x0002
- ! #ifndef _TERMIOS_H
- ! #define ECHO 0x0004
- ! #endif /* _TERMIOS_H */
- #define XTABS 0x0008
- #define RAW 0x0010
- #define LCASE 0x0020 /* does nothing */
- + #ifndef _TERMIOS_H
- + #define NOFLSH 0x0040
- + #ifdef __MINT__
- + #define TOSTOP 0x0100
- + #endif /* __MINT__ */
- + #endif /* _TERMIOS_H */
- #define TANDEM 0x1000
- + #define _RTSCTS 0x2000
- #define EVENP 0x4000
- #define ODDP 0x8000
- #define ANYP (0)
- ! #endif /* _filesys_h */
-
- ! #ifndef _TERMIOS_H
- #define B0 0
- #define B50 1
- #define B75 2
- ***************
- *** 113,119 ****
- #define B9600 13
- #define B19200 14
- #define B38400 15
- !
-
- /* The ones below aren't supported by the kernel, at least not yet */
- #define VTDELAY 0
- --- 121,127 ----
- #define B9600 13
- #define B19200 14
- #define B38400 15
- ! #endif
-
- /* The ones below aren't supported by the kernel, at least not yet */
- #define VTDELAY 0
- ***************
- *** 121,127 ****
-
- #ifdef __MINT__
-
- - #define TOSTOP 0x0100
- #define XKEY 0x0200
-
- #ifndef _filesys_h
- --- 129,134 ----
- diff -cr /src/mntinc36/mintbind.h ./mintbind.h
- *** /src/mntinc36/mintbind.h Sat Jun 19 05:13:28 1993
- --- ./mintbind.h Wed Sep 29 07:53:58 1993
- ***************
- *** 171,177 ****
-
- #define Syield() _smv(0xff)
- #define Fpipe(a) _smr(0x100, a)
- ! #define Fcntl(a, b, c) _smsls(0x104, a, b, c)
- #define Finstat(a) _lms(0x105, a)
- #define Foutstat(a) _lms(0x106, a)
- #define Fgetchar(a, b) _lmss(0x107, a, b)
- --- 171,177 ----
-
- #define Syield() _smv(0xff)
- #define Fpipe(a) _smr(0x100, a)
- ! #define Fcntl(a, b, c) _smsls(0x104, a, (long)b, c)
- #define Finstat(a) _lms(0x105, a)
- #define Foutstat(a) _lms(0x106, a)
- #define Fgetchar(a, b) _lmss(0x107, a, b)
- ***************
- *** 215,221 ****
- #define Flink(a, b) _lmCC(0x12d, a, b)
- #define Fsymlink(a, b) _lmCC(0x12e, a, b)
- #define Freadlink(a, b, c) _lmspC(0x12f, a, b, c)
- ! #define Dcntl(a, b, c) _lmsCl(0x130, a, b, c)
- #define Fchown(a, b, c) _lmCss(0x131, a, b, c)
- #define Fchmod(a, b) _lmCs(0x132, a, b)
- #define Pumask(a) _sms(0x133, a)
- --- 215,221 ----
- #define Flink(a, b) _lmCC(0x12d, a, b)
- #define Fsymlink(a, b) _lmCC(0x12e, a, b)
- #define Freadlink(a, b, c) _lmspC(0x12f, a, b, c)
- ! #define Dcntl(a, b, c) _lmsCl(0x130, a, b, (long)c)
- #define Fchown(a, b, c) _lmCss(0x131, a, b, c)
- #define Fchmod(a, b) _lmCs(0x132, a, b)
- #define Pumask(a) _sms(0x133, a)
- diff -cr /src/mntinc36/resource.h ./resource.h
- *** /src/mntinc36/resource.h Sun Oct 18 16:33:04 1992
- --- ./resource.h Wed Oct 6 20:49:36 1993
- ***************
- *** 28,33 ****
- --- 28,50 ----
- struct rusage {
- struct timeval ru_utime; /* user time used */
- struct timeval ru_stime; /* system time used */
- + /* The following rusage elements are fake. They will all contain 0 or
- + some other fake value until such time as they are supported under MiNT.
- + */
- + long ru_maxrss; /* maximum resident set size */
- + long ru_ixrss; /* integral shared memory size */
- + long ru_idrss; /* integral unshared data size */
- + long ru_isrss; /* integral unshared stack size */
- + long ru_minflt; /* page reclaims */
- + long ru_majflt; /* page faults (requiring I/O) */
- + long ru_nswap; /* memory swaps */
- + long ru_inblock; /* block input operations */
- + long ru_oublock; /* block output operations */
- + long ru_msgsnd; /* messages sent */
- + long ru_msgrcv; /* messages received */
- + long ru_nsignals; /* signals received */
- + long ru_nvcsw; /* voluntary context switches */
- + long ru_nivcsw; /* involuntary context switches */
- };
-
- struct rlimit {
- diff -cr /src/mntinc36/stat.h ./stat.h
- *** /src/mntinc36/stat.h Tue Jul 6 08:37:32 1993
- --- ./stat.h Wed Oct 6 23:35:48 1993
- ***************
- *** 84,91 ****
- #ifndef _POSIX_SOURCE
- __EXTERN int lstat __PROTO((const char *, struct stat *));
- #endif
- ! __EXTERN int mkdir __PROTO((const char *, unsigned));
- ! /* BUG: we need mkfifo() for POSIX compliance */
- __EXTERN int stat __PROTO((const char *, struct stat *));
- __EXTERN int umask __PROTO((int));
-
- --- 84,91 ----
- #ifndef _POSIX_SOURCE
- __EXTERN int lstat __PROTO((const char *, struct stat *));
- #endif
- ! __EXTERN int mkdir __PROTO((const char *, mode_t));
- ! __EXTERN int mkfifo __PROTO((const char *, mode_t));
- __EXTERN int stat __PROTO((const char *, struct stat *));
- __EXTERN int umask __PROTO((int));
-
- diff -cr /src/mntinc36/stdlib.h ./stdlib.h
- *** /src/mntinc36/stdlib.h Tue Sep 21 16:06:18 1993
- --- ./stdlib.h Fri Sep 24 19:02:50 1993
- ***************
- *** 23,28 ****
- --- 23,32 ----
- typedef _WCHAR_T wchar_t;
- #endif
-
- + #ifndef NULL
- + #define NULL __NULL
- + #endif
- +
- #ifdef __MSHORT__
- #define RAND_MAX (0x7FFF) /* maximum value from rand() */
- #else
- diff -cr /src/mntinc36/string.h ./string.h
- *** /src/mntinc36/string.h Tue Jul 6 11:42:52 1993
- --- ./string.h Mon Oct 11 00:06:04 1993
- ***************
- *** 124,129 ****
- --- 124,141 ----
- # endif /* !__cplusplus */
- #endif /* __GNUC_INLINE__ */
-
- + #if defined(__LATTICE__) && !defined(_NO_INLINE)
- +
- + int __builtin_strcmp (const char *, const char *);
- + char * __builtin_strcpy (char *, const char *);
- + size_t __builtin_strlen (const char *);
- +
- + #define strcmp __builtin_strcmp
- + #define strcpy __builtin_strcpy
- + #define strlen __builtin_strlen
- +
- + #endif
- +
- #ifdef __cplusplus
- }
- #endif
- Only in .: termios.h
- diff -cr /src/mntinc36/unistd.h ./unistd.h
- *** /src/mntinc36/unistd.h Thu Sep 9 16:04:24 1993
- --- ./unistd.h Sun Oct 10 09:59:30 1993
- ***************
- *** 174,179 ****
- --- 174,181 ----
- #endif /* not _BSD_SOURCE */
- __EXTERN int setpgid __PROTO((_PID_T, _PID_T));
- __EXTERN int setsid __PROTO((void));
- + __EXTERN _PID_T tcgetpgrp __PROTO((int fd));
- + __EXTERN int tcsetpgrp __PROTO((int fd, _PID_T pgrp));
-
- #if defined(__cplusplus)
- }
- diff -cr /src/mntinc36/wait.h ./wait.h
- *** /src/mntinc36/wait.h Mon Sep 13 06:57:38 1993
- --- ./wait.h Sat Oct 9 05:02:40 1993
- ***************
- *** 67,72 ****
- --- 67,73 ----
- #define WIFEXITED(x) (__W(x)._w.termsig == 0)
- #define WIFCOREDUMPED(x) (__W(x)._w.coredump != 0)
-
- + #define WSTOPSIG(x) (__W(x)._w.retcode)
- #define WTERMSIG(x) (__W(x)._w.termsig)
- #define WEXITSTATUS(x) (__W(x)._w.retcode)
-
- *** /dev/null Tue Oct 12 02:55:24 1993
- --- termios.h Sun Oct 10 17:01:26 1993
- ***************
- *** 0 ****
- --- 1,139 ----
- + #ifndef _TERMIOS_H
- + #define _TERMIOS_H
- +
- + #define VEOF 0
- + #define VEOL 1
- + #define VERASE 2
- + #define VINTR 3
- + #define VKILL 4
- + #define VQUIT 5
- + #define VSUSP 6
- + #define VSTART 7
- + #define VSTOP 8
- + #define VMIN 9
- + #define VTIME 10
- +
- + #define NCCS (VTIME + 1)
- +
- + typedef unsigned short tcflag_t;
- + typedef unsigned short speed_t;
- + typedef unsigned char cc_t;
- +
- + struct termios {
- + tcflag_t c_iflag;
- + tcflag_t c_oflag;
- + tcflag_t c_cflag;
- + tcflag_t c_lflag;
- + speed_t _c_ispeed;
- + speed_t _c_ospeed;
- + cc_t c_cc[NCCS];
- + };
- +
- + /* input flags */
- + #define BRKINT 0x0001
- + #define IGNBRK 0x0002
- + #define IGNPAR 0x0004
- + #define PARMRK 0x0008
- + #define INPCK 0x0010
- + #define ISTRIP 0x0020
- + #define INLCR 0x0040
- + #define IGNCR 0x0080
- + #define ICRNL 0x0100
- + #define IXON 0x0200
- + #define IXOFF 0x0400
- +
- + /* output modes */
- + #define OPOST 0x0001
- +
- + /* control modes */
- + #define CLOCAL 0x0001
- + #define CREAD 0x0002
- + #define CS5 0x0004
- + #define CS6 0x0008
- + #define CS7 0x0010
- + #define CS8 0x0020
- + # define CSIZE (CS5 | CS6 | CS7 | CS8)
- + #define CSTOPB 0x0040
- + #define HUPCL 0x0080
- + #define PARENB 0x0100
- + #define PARODD 0x0200
- +
- + /* local modes */
- + #define ECHOE 0x0001
- + #define ECHOK 0x0002
- + #ifndef _IOCTL_H
- + #define ECHO 0x0004
- + #endif /* _IOCTL_H */
- + #define ECHONL 0x0008
- + #define ICANON 0x0010
- + #define ISIG 0x0020
- + #ifndef _IOCTL_H
- + #define NOFLSH 0x0040
- + #endif /* _IOCTL_H */
- + #define IEXTEN 0x0080
- + #ifndef _IOCTL_H
- + #define TOSTOP 0x0100
- + #endif /* _IOCTL_H */
- +
- + /* actions for tcflow() */
- + #define TCOOFF 0
- + #define TCOON 1
- + #define TCIOFF 2
- + #define TCION 3
- +
- + /* actions for tcflush() */
- + #define TCIFLUSH 0
- + #define TCOFLUSH 1
- + #define TCIOFLUSH 3
- +
- + /* actions for tcsetattr() */
- + #define TCSANOW 0
- + #define TCSADRAIN 1
- + #define TCSAFLUSH 2
- +
- + /* internal use only */
- + #define _TF_STOPBITS 0x0003
- + #define _TF_1STOP 0x0001
- + #define _TF_15STOP 0x0002
- + #define _TF_2STOP 0x0003
- + #define _TF_CHARBITS 0x000C
- + #define _TF_8BIT 0
- + #define _TF_7BIT 0x4
- + #define _TF_6BIT 0x8
- + #define _TF_5BIT 0xC
- +
- + /* baud rate codes */
- + #ifndef _IOCTL_H
- + #define B0 0
- + #define B50 1
- + #define B75 2
- + #define B110 3
- + #define B135 4
- + #define B150 5
- + #define B200 6
- + #define B300 7
- + #define B600 8
- + #define B1200 9
- + #define B1800 10
- + #define B2400 11
- + #define B4800 12
- + #define B9600 13
- + #define B19200 14
- + #define B38400 15
- + #endif /* _IOCTL_H */
- +
- + __EXTERN speed_t cfgetispeed __PROTO((const struct termios *stp));
- + __EXTERN speed_t cfgetospeed __PROTO((const struct termios *stp));
- + __EXTERN int cfsetispeed __PROTO((struct termios *stp,
- + speed_t baudcode));
- + __EXTERN int cfsetospeed __PROTO((struct termios *stp,
- + speed_t baudcode));
- + __EXTERN int tcdrain __PROTO((int fd));
- + __EXTERN int tcflow __PROTO((int fd, int action));
- + __EXTERN int tcflush __PROTO((int fd, int action));
- + __EXTERN int tcgetattr __PROTO((int fd, struct termios *stp));
- + __EXTERN int tcsendbreak __PROTO((int fd, int duration));
- + __EXTERN int tcsetattr __PROTO((int fd, int action,
- + const struct termios *stp));
- +
- + #endif /* _TERMIOS_H */
-