home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / lib / mlib37d.zoo / diffh < prev    next >
Encoding:
Text File  |  1993-10-12  |  11.2 KB  |  423 lines

  1. diff -cr /src/mntinc36/PatchLev.h ./PatchLev.h
  2. *** /src/mntinc36/PatchLev.h    Wed Sep 15 09:51:36 1993
  3. --- ./PatchLev.h    Wed Sep 22 19:27:02 1993
  4. ***************
  5. *** 3,6 ****
  6.    *    directory.
  7.    */
  8.    
  9. ! #define _PatchLevel "36"
  10. --- 3,6 ----
  11.    *    directory.
  12.    */
  13.    
  14. ! #define _PatchLevel "37"
  15. diff -cr /src/mntinc36/errno.h ./errno.h
  16. *** /src/mntinc36/errno.h    Sun Jul 18 08:10:32 1993
  17. --- ./errno.h    Fri Oct  8 23:16:00 1993
  18. ***************
  19. *** 46,53 ****
  20. --- 46,55 ----
  21.   #define EOTHER         EIDISK        /*    "    "   */
  22.                       /* (gap) */
  23.   #define    EINVAL         32        /* invalid function number */
  24. + #define    EOPNOTSUPP     EINVAL        /*    "       "        "   */
  25.   #define    ENOENT         33        /* file not found */
  26.   #define ESRCH         ENOENT        /* pid not found */
  27. + #define ECHILD         ENOENT        /* no children (wait/waipid) */
  28.   #define    EPATH         34        /* path not found */
  29.   #define ENOTDIR         EPATH
  30.   #define    EMFILE         35        /* no more handles */
  31. diff -cr /src/mntinc36/file.h ./file.h
  32. *** /src/mntinc36/file.h    Fri May 15 19:51:52 1992
  33. --- ./file.h    Sat Oct  9 12:30:28 1993
  34. ***************
  35. *** 12,17 ****
  36. --- 12,20 ----
  37.   #define LOCK_NB    4    /* non-blocking */
  38.   #define LOCK_UN    8    /* unlock */
  39.   
  40. + #define FREAD  1
  41. + #define FWRITE 2
  42.   __EXTERN int        flock    __PROTO((int, int));
  43.   #endif
  44.   
  45. diff -cr /src/mntinc36/ioctl.h ./ioctl.h
  46. *** /src/mntinc36/ioctl.h    Mon Sep 13 06:10:42 1993
  47. --- ./ioctl.h    Sun Oct 10 16:58:12 1993
  48. ***************
  49. *** 85,102 ****
  50.   
  51.   #define    CRMOD        0x0001
  52.   #define    CBREAK        0x0002
  53. ! #define    ECHO        0x0004
  54.   #define    XTABS        0x0008
  55.   #define    RAW        0x0010
  56.   #define LCASE        0x0020        /* does nothing */
  57.   #define TANDEM        0x1000
  58.   #define EVENP        0x4000
  59.   #define ODDP        0x8000
  60.   #define ANYP        (0)
  61. ! #endif
  62.   
  63. ! /* Only ones that are likely to be used are here */
  64. ! /* ok, but emacs thinks it knows their value */
  65.   #define B0        0
  66.   #define B50        1
  67.   #define B75        2
  68. --- 85,110 ----
  69.   
  70.   #define    CRMOD        0x0001
  71.   #define    CBREAK        0x0002
  72. ! #ifndef _TERMIOS_H
  73. ! #define ECHO        0x0004
  74. ! #endif /* _TERMIOS_H */
  75.   #define    XTABS        0x0008
  76.   #define    RAW        0x0010
  77.   #define LCASE        0x0020        /* does nothing */
  78. + #ifndef _TERMIOS_H
  79. + #define NOFLSH        0x0040
  80. + #ifdef __MINT__
  81. + #define TOSTOP        0x0100
  82. + #endif /* __MINT__ */
  83. + #endif /* _TERMIOS_H */
  84.   #define TANDEM        0x1000
  85. + #define _RTSCTS        0x2000
  86.   #define EVENP        0x4000
  87.   #define ODDP        0x8000
  88.   #define ANYP        (0)
  89. ! #endif /* _filesys_h */
  90.   
  91. ! #ifndef _TERMIOS_H
  92.   #define B0        0
  93.   #define B50        1
  94.   #define B75        2
  95. ***************
  96. *** 113,119 ****
  97.   #define B9600        13
  98.   #define B19200        14
  99.   #define B38400        15
  100.   
  101.   /* The ones below aren't supported by the kernel, at least not yet */
  102.   #define VTDELAY        0
  103. --- 121,127 ----
  104.   #define B9600        13
  105.   #define B19200        14
  106.   #define B38400        15
  107. ! #endif
  108.   
  109.   /* The ones below aren't supported by the kernel, at least not yet */
  110.   #define VTDELAY        0
  111. ***************
  112. *** 121,127 ****
  113.   
  114.   #ifdef __MINT__
  115.   
  116. - #define TOSTOP        0x0100
  117.   #define XKEY        0x0200
  118.   
  119.   #ifndef _filesys_h
  120. --- 129,134 ----
  121. diff -cr /src/mntinc36/mintbind.h ./mintbind.h
  122. *** /src/mntinc36/mintbind.h    Sat Jun 19 05:13:28 1993
  123. --- ./mintbind.h    Wed Sep 29 07:53:58 1993
  124. ***************
  125. *** 171,177 ****
  126.   
  127.   #define Syield() _smv(0xff)
  128.   #define Fpipe(a) _smr(0x100, a)
  129. ! #define Fcntl(a, b, c) _smsls(0x104, a, b, c)
  130.   #define Finstat(a) _lms(0x105, a)
  131.   #define Foutstat(a) _lms(0x106, a)
  132.   #define Fgetchar(a, b) _lmss(0x107, a, b)
  133. --- 171,177 ----
  134.   
  135.   #define Syield() _smv(0xff)
  136.   #define Fpipe(a) _smr(0x100, a)
  137. ! #define Fcntl(a, b, c) _smsls(0x104, a, (long)b, c)
  138.   #define Finstat(a) _lms(0x105, a)
  139.   #define Foutstat(a) _lms(0x106, a)
  140.   #define Fgetchar(a, b) _lmss(0x107, a, b)
  141. ***************
  142. *** 215,221 ****
  143.   #define Flink(a, b) _lmCC(0x12d, a, b)
  144.   #define Fsymlink(a, b) _lmCC(0x12e, a, b)
  145.   #define Freadlink(a, b, c) _lmspC(0x12f, a, b, c)
  146. ! #define Dcntl(a, b, c) _lmsCl(0x130, a, b, c)
  147.   #define Fchown(a, b, c) _lmCss(0x131, a, b, c)
  148.   #define Fchmod(a, b) _lmCs(0x132, a, b)
  149.   #define Pumask(a) _sms(0x133, a)
  150. --- 215,221 ----
  151.   #define Flink(a, b) _lmCC(0x12d, a, b)
  152.   #define Fsymlink(a, b) _lmCC(0x12e, a, b)
  153.   #define Freadlink(a, b, c) _lmspC(0x12f, a, b, c)
  154. ! #define Dcntl(a, b, c) _lmsCl(0x130, a, b, (long)c)
  155.   #define Fchown(a, b, c) _lmCss(0x131, a, b, c)
  156.   #define Fchmod(a, b) _lmCs(0x132, a, b)
  157.   #define Pumask(a) _sms(0x133, a)
  158. diff -cr /src/mntinc36/resource.h ./resource.h
  159. *** /src/mntinc36/resource.h    Sun Oct 18 16:33:04 1992
  160. --- ./resource.h    Wed Oct  6 20:49:36 1993
  161. ***************
  162. *** 28,33 ****
  163. --- 28,50 ----
  164.   struct rusage {
  165.       struct timeval    ru_utime;    /* user time used */
  166.       struct timeval    ru_stime;    /* system time used */
  167. + /* The following rusage elements are fake.  They will all contain 0 or
  168. +    some other fake value until such time as they are supported under MiNT.
  169. + */
  170. +     long        ru_maxrss;    /* maximum resident set size */
  171. +     long        ru_ixrss;    /* integral shared memory size */
  172. +     long        ru_idrss;    /* integral unshared data size */
  173. +     long        ru_isrss;    /* integral unshared stack size */
  174. +     long        ru_minflt;    /* page reclaims */
  175. +     long        ru_majflt;    /* page faults (requiring I/O) */
  176. +     long        ru_nswap;    /* memory swaps */
  177. +     long        ru_inblock;    /* block input operations */
  178. +     long        ru_oublock;    /* block output operations */
  179. +     long        ru_msgsnd;    /* messages sent */
  180. +     long        ru_msgrcv;    /* messages received */
  181. +     long        ru_nsignals;    /* signals received */
  182. +     long        ru_nvcsw;    /* voluntary context switches */
  183. +     long        ru_nivcsw;    /* involuntary context switches */
  184.   };
  185.   
  186.   struct rlimit {
  187. diff -cr /src/mntinc36/stat.h ./stat.h
  188. *** /src/mntinc36/stat.h    Tue Jul  6 08:37:32 1993
  189. --- ./stat.h    Wed Oct  6 23:35:48 1993
  190. ***************
  191. *** 84,91 ****
  192.   #ifndef _POSIX_SOURCE
  193.   __EXTERN int    lstat    __PROTO((const char *, struct stat *));
  194.   #endif
  195. ! __EXTERN int    mkdir    __PROTO((const char *, unsigned));
  196. ! /* BUG: we need mkfifo() for POSIX compliance */
  197.   __EXTERN int    stat    __PROTO((const char *, struct stat *));
  198.   __EXTERN int    umask    __PROTO((int));
  199.   
  200. --- 84,91 ----
  201.   #ifndef _POSIX_SOURCE
  202.   __EXTERN int    lstat    __PROTO((const char *, struct stat *));
  203.   #endif
  204. ! __EXTERN int    mkdir    __PROTO((const char *, mode_t));
  205. ! __EXTERN int    mkfifo    __PROTO((const char *, mode_t));
  206.   __EXTERN int    stat    __PROTO((const char *, struct stat *));
  207.   __EXTERN int    umask    __PROTO((int));
  208.   
  209. diff -cr /src/mntinc36/stdlib.h ./stdlib.h
  210. *** /src/mntinc36/stdlib.h    Tue Sep 21 16:06:18 1993
  211. --- ./stdlib.h    Fri Sep 24 19:02:50 1993
  212. ***************
  213. *** 23,28 ****
  214. --- 23,32 ----
  215.   typedef _WCHAR_T wchar_t;
  216.   #endif
  217.   
  218. + #ifndef NULL
  219. + #define NULL        __NULL
  220. + #endif
  221.   #ifdef __MSHORT__
  222.   #define    RAND_MAX    (0x7FFF)    /* maximum value from rand() */
  223.   #else
  224. diff -cr /src/mntinc36/string.h ./string.h
  225. *** /src/mntinc36/string.h    Tue Jul  6 11:42:52 1993
  226. --- ./string.h    Mon Oct 11 00:06:04 1993
  227. ***************
  228. *** 124,129 ****
  229. --- 124,141 ----
  230.   # endif /* !__cplusplus */
  231.   #endif /* __GNUC_INLINE__ */
  232.   
  233. + #if defined(__LATTICE__) && !defined(_NO_INLINE)
  234. + int __builtin_strcmp (const char *, const char *);
  235. + char * __builtin_strcpy (char *, const char *);
  236. + size_t __builtin_strlen (const char *);
  237. + #define strcmp __builtin_strcmp
  238. + #define strcpy __builtin_strcpy
  239. + #define strlen __builtin_strlen
  240. + #endif
  241.   #ifdef __cplusplus
  242.   }
  243.   #endif
  244. Only in .: termios.h
  245. diff -cr /src/mntinc36/unistd.h ./unistd.h
  246. *** /src/mntinc36/unistd.h    Thu Sep  9 16:04:24 1993
  247. --- ./unistd.h    Sun Oct 10 09:59:30 1993
  248. ***************
  249. *** 174,179 ****
  250. --- 174,181 ----
  251.   #endif /* not _BSD_SOURCE */
  252.   __EXTERN int    setpgid __PROTO((_PID_T, _PID_T));
  253.   __EXTERN int    setsid __PROTO((void));
  254. + __EXTERN _PID_T    tcgetpgrp    __PROTO((int fd));
  255. + __EXTERN int    tcsetpgrp    __PROTO((int fd, _PID_T pgrp));
  256.   
  257.   #if defined(__cplusplus)
  258.   }
  259. diff -cr /src/mntinc36/wait.h ./wait.h
  260. *** /src/mntinc36/wait.h    Mon Sep 13 06:57:38 1993
  261. --- ./wait.h    Sat Oct  9 05:02:40 1993
  262. ***************
  263. *** 67,72 ****
  264. --- 67,73 ----
  265.   #define WIFEXITED(x)    (__W(x)._w.termsig == 0)
  266.   #define WIFCOREDUMPED(x) (__W(x)._w.coredump != 0)
  267.   
  268. + #define WSTOPSIG(x)    (__W(x)._w.retcode)
  269.   #define WTERMSIG(x)    (__W(x)._w.termsig)
  270.   #define WEXITSTATUS(x)    (__W(x)._w.retcode)
  271.   
  272. *** /dev/null    Tue Oct 12 02:55:24 1993
  273. --- termios.h    Sun Oct 10 17:01:26 1993
  274. ***************
  275. *** 0 ****
  276. --- 1,139 ----
  277. + #ifndef _TERMIOS_H
  278. + #define _TERMIOS_H
  279. + #define VEOF    0
  280. + #define VEOL    1
  281. + #define VERASE    2
  282. + #define VINTR    3
  283. + #define VKILL    4
  284. + #define VQUIT    5
  285. + #define VSUSP    6
  286. + #define VSTART    7
  287. + #define VSTOP    8
  288. + #define VMIN    9
  289. + #define VTIME    10
  290. + #define NCCS    (VTIME + 1)
  291. + typedef unsigned short tcflag_t;
  292. + typedef unsigned short speed_t;
  293. + typedef unsigned char cc_t;
  294. + struct termios {
  295. +   tcflag_t c_iflag;
  296. +   tcflag_t c_oflag;
  297. +   tcflag_t c_cflag;
  298. +   tcflag_t c_lflag;
  299. +   speed_t  _c_ispeed;
  300. +   speed_t  _c_ospeed;
  301. +   cc_t     c_cc[NCCS];
  302. + };
  303. + /* input flags */
  304. + #define BRKINT    0x0001
  305. + #define IGNBRK    0x0002
  306. + #define IGNPAR    0x0004
  307. + #define PARMRK    0x0008
  308. + #define INPCK    0x0010
  309. + #define ISTRIP    0x0020
  310. + #define INLCR    0x0040
  311. + #define IGNCR    0x0080
  312. + #define ICRNL    0x0100
  313. + #define IXON    0x0200
  314. + #define IXOFF    0x0400
  315. + /* output modes */
  316. + #define OPOST    0x0001
  317. + /* control modes */
  318. + #define CLOCAL    0x0001
  319. + #define CREAD    0x0002
  320. + #define CS5    0x0004
  321. + #define CS6    0x0008
  322. + #define CS7    0x0010
  323. + #define CS8    0x0020
  324. + # define CSIZE    (CS5 | CS6 | CS7 | CS8)
  325. + #define CSTOPB    0x0040
  326. + #define HUPCL    0x0080
  327. + #define PARENB    0x0100
  328. + #define PARODD    0x0200
  329. + /* local modes */
  330. + #define ECHOE    0x0001
  331. + #define ECHOK    0x0002
  332. + #ifndef _IOCTL_H
  333. + #define ECHO    0x0004
  334. + #endif /* _IOCTL_H */
  335. + #define ECHONL    0x0008
  336. + #define ICANON    0x0010
  337. + #define ISIG    0x0020
  338. + #ifndef _IOCTL_H
  339. + #define NOFLSH    0x0040
  340. + #endif /* _IOCTL_H */
  341. + #define IEXTEN    0x0080
  342. + #ifndef _IOCTL_H
  343. + #define TOSTOP    0x0100
  344. + #endif /* _IOCTL_H */
  345. + /* actions for tcflow() */
  346. + #define TCOOFF        0
  347. + #define TCOON        1
  348. + #define TCIOFF        2
  349. + #define TCION        3
  350. + /* actions for tcflush() */
  351. + #define TCIFLUSH    0
  352. + #define TCOFLUSH    1
  353. + #define TCIOFLUSH    3
  354. + /* actions for tcsetattr() */
  355. + #define TCSANOW        0
  356. + #define TCSADRAIN    1
  357. + #define TCSAFLUSH    2
  358. + /* internal use only */
  359. + #define _TF_STOPBITS    0x0003
  360. + #define _TF_1STOP    0x0001
  361. + #define _TF_15STOP    0x0002
  362. + #define    _TF_2STOP    0x0003
  363. + #define _TF_CHARBITS    0x000C
  364. + #define _TF_8BIT    0
  365. + #define _TF_7BIT    0x4
  366. + #define _TF_6BIT    0x8
  367. + #define _TF_5BIT    0xC
  368. + /* baud rate codes */
  369. + #ifndef _IOCTL_H
  370. + #define B0        0
  371. + #define B50        1
  372. + #define B75        2
  373. + #define B110        3
  374. + #define B135        4
  375. + #define B150        5
  376. + #define B200        6
  377. + #define B300        7
  378. + #define B600        8
  379. + #define B1200        9
  380. + #define B1800        10
  381. + #define B2400        11
  382. + #define B4800        12
  383. + #define B9600        13
  384. + #define B19200        14
  385. + #define B38400        15
  386. + #endif /* _IOCTL_H */
  387. + __EXTERN speed_t cfgetispeed    __PROTO((const struct termios *stp));
  388. + __EXTERN speed_t cfgetospeed    __PROTO((const struct termios *stp));
  389. + __EXTERN int    cfsetispeed    __PROTO((struct termios *stp,
  390. +                         speed_t baudcode));
  391. + __EXTERN int    cfsetospeed    __PROTO((struct termios *stp,
  392. +                         speed_t baudcode));
  393. + __EXTERN int    tcdrain        __PROTO((int fd));
  394. + __EXTERN int    tcflow        __PROTO((int fd, int action));
  395. + __EXTERN int    tcflush        __PROTO((int fd, int action));
  396. + __EXTERN int    tcgetattr    __PROTO((int fd, struct termios *stp));
  397. + __EXTERN int    tcsendbreak    __PROTO((int fd, int duration));
  398. + __EXTERN int    tcsetattr    __PROTO((int fd, int action, 
  399. +                         const struct termios *stp));
  400. + #endif /* _TERMIOS_H */
  401.