home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sources / 3b1 / 74 next >
Encoding:
Internet Message Format  |  1992-07-21  |  51.5 KB

  1. Path: sparky!uunet!comp-sources-3b1
  2. From: dave@galaxia.network23.com (David H. Brierley)
  3. Newsgroups: comp.sources.3b1
  4. Subject: v02i021:  Still more include files for the 3b1, Part02/02
  5. Date: 21 Jul 1992 22:27:06 -0400
  6. Organization: UUNET Communications
  7. Lines: 1549
  8. Sender: dhb@ftp.UU.NET
  9. Approved: dave@galaxia.network23.com
  10. Message-ID: <14ih1qINNd5k@ftp.UU.NET>
  11. NNTP-Posting-Host: ftp.uu.net
  12. X-Checksum-Snefru: 92babd3a 70411203 cf48d805 2d7a755f
  13.  
  14. Submitted-by: dave@galaxia.network23.com (David H. Brierley)
  15. Posting-number: Volume 2, Issue 21
  16. Archive-name: bsd-incl/part02
  17.  
  18. [ Part 1 was originally posted as "1 of 1", but now here is "2 of 2" ]
  19.  
  20. The include files included in this archive are those include files which
  21. have either been changed or added on my system since the initial installation
  22. of the development set.  Not included in this posting are those include
  23. files which I already posted: statfs.h, uipc/*, and gcc-include/*.
  24.  
  25. No installation script or makefile is provided.  Examine each file in this
  26. set and determine if you want it installed on your system.  The README file
  27. contains a brief description of each file included.
  28.  
  29. #! /bin/sh
  30. # This is a shell archive.  Remove anything before this line, then unpack
  31. # it by saving it into a file and typing "sh file".  To overwrite existing
  32. # files, type "sh file -c".  You can also feed this as standard input via
  33. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  34. # will see the following message at the end:
  35. #        "End of archive 1 (of 1)."
  36. # Contents:  ADDS ADDS/limits.h ADDS/netdb.h ADDS/netinet/in.h
  37. #   ADDS/stdlib.h ADDS/strings.h ADDS/sys ADDS/sys/resource.h
  38. #   ADDS/sys/syslog.h ADDS/sys/time.h ADDS/sys/uio.h ADDS/sysexits.h
  39. #   ADDS/syslog.h CHANGES CHANGES/grp.h CHANGES/pwd.h CHANGES/stdio.h
  40. #   CHANGES/sys CHANGES/sys/proc.h CHANGES/sys/signal.h
  41. #   CHANGES/sys/types.h MANIFEST README
  42. # Wrapped by dave@galaxia on Tue Jul 21 09:28:24 1992
  43. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  44. if test ! -d 'ADDS' ; then
  45.     echo shar: Creating directory \"'ADDS'\"
  46.     mkdir 'ADDS'
  47. fi
  48. if test -f 'ADDS/limits.h' -a "${1}" != "-c" ; then 
  49.   echo shar: Will not clobber existing file \"'ADDS/limits.h'\"
  50. else
  51. echo shar: Extracting \"'ADDS/limits.h'\" \(1772 characters\)
  52. sed "s/^X//" >'ADDS/limits.h' <<'END_OF_FILE'
  53. X#ifndef LIMITS_DOT_H
  54. X#define LIMITS_DOT_H
  55. X/* ANSI C compatible limits.h file for the 3b1.  If your C compiler doesn't
  56. X   understand the U suffix for unsigned constants, define NOT_ANSI_C at
  57. X   the front of this file (or before you include it).
  58. X*/
  59. X#define NOT_ANSI_C /* Stock 3b1 CC can't handle U.  GCC should be able to. */
  60. X
  61. X/* Bits in a char. */
  62. X#define CHAR_BIT             8
  63. X
  64. X/* Maximum value of a char. (3b1 uses signed chars.) */
  65. X#define CHAR_MAX      SCHAR_MAX
  66. X
  67. X/* Minimum value of a char. */
  68. X#define CHAR_MIN      SCHAR_MIN
  69. X
  70. X/* Maximum value of an int. */
  71. X#define INT_MAX      2147483647
  72. X
  73. X/* Minimum value of an int. */
  74. X#define INT_MIN   (-2147483648)
  75. X
  76. X/* Maximum value of a long. */
  77. X#define LONG_MAX    2147483647L
  78. X
  79. X/* Minimum value of a long. */
  80. X#define LONG_MIN (-2147483648L)
  81. X
  82. X/* Maximum value of a signed char. */
  83. X#define SCHAR_MAX           127
  84. X
  85. X/* Minimum value of a signed char. */
  86. X#define SCHAR_MIN        (-128)
  87. X
  88. X/* Maximum value of a short. */
  89. X#define SHRT_MAX          32767
  90. X
  91. X/* Minimum value of a short. */
  92. X#define SHRT_MIN       (-32768)
  93. X
  94. X#ifdef NOT_ANSI_C
  95. X
  96. X/* Maximum value of an unsigned char. */
  97. X#define UCHAR_MAX          ((unsigned int) 255)
  98. X
  99. X/* Maximum value of an unsigned int. */
  100. X#define UINT_MAX    ((unsigned int) 4294967295)
  101. X
  102. X/* Maximum value of an unsigned long. */
  103. X#define ULONG_MAX ((unsigned long) 4294967295L)
  104. X
  105. X/* Maximum value of an unsigned short. */
  106. X#define USHRT_MAX        ((unsigned int) 65535)
  107. X
  108. X#else
  109. X
  110. X/* Maximum value of an unsigned char. */
  111. X#define UCHAR_MAX         255U
  112. X
  113. X/* Maximum value of an unsigned int. */
  114. X#define UINT_MAX   4294967295U
  115. X
  116. X/* Maximum value of an unsigned long. */
  117. X#define ULONG_MAX 4294967295UL
  118. X
  119. X/* Maximum value of an unsigned short. */
  120. X#define USHRT_MAX       65535U
  121. X
  122. X#endif
  123. X#endif /* LIMITS_DOT_H */
  124. END_OF_FILE
  125. if test 1772 -ne `wc -c <'ADDS/limits.h'`; then
  126.     echo shar: \"'ADDS/limits.h'\" unpacked with wrong size!
  127. fi
  128. # end of 'ADDS/limits.h'
  129. fi
  130. if test -f 'ADDS/netdb.h' -a "${1}" != "-c" ; then 
  131.   echo shar: Will not clobber existing file \"'ADDS/netdb.h'\"
  132. else
  133. echo shar: Extracting \"'ADDS/netdb.h'\" \(1717 characters\)
  134. sed "s/^X//" >'ADDS/netdb.h' <<'END_OF_FILE'
  135. X
  136. X/*
  137. X * Structures returned by network
  138. X * data base library.  All addresses
  139. X * are supplied in host order, and
  140. X * returned in network order (suitable
  141. X * for use in system calls).
  142. X */
  143. Xstruct    hostent {
  144. X    char    *h_name;    /* official name of host */
  145. X    char    **h_aliases;    /* alias list */
  146. X    int    h_addrtype;    /* host address type */
  147. X    int    h_length;    /* length of address */
  148. X    char    **h_addr_list;    /* list of addresses from name server */
  149. X#define    h_addr    h_addr_list[0]    /* address, for backward compatiblity */
  150. X};
  151. X
  152. X/*
  153. X * Assumption here is that a network number
  154. X * fits in 32 bits -- probably a poor one.
  155. X */
  156. Xstruct    netent {
  157. X    char        *n_name;    /* official name of net */
  158. X    char        **n_aliases;    /* alias list */
  159. X    int        n_addrtype;    /* net address type */
  160. X    unsigned long    n_net;        /* network # */
  161. X};
  162. X
  163. Xstruct    servent {
  164. X    char    *s_name;    /* official service name */
  165. X    char    **s_aliases;    /* alias list */
  166. X    int    s_port;        /* port # */
  167. X    char    *s_proto;    /* protocol to use */
  168. X};
  169. X
  170. Xstruct    protoent {
  171. X    char    *p_name;    /* official protocol name */
  172. X    char    **p_aliases;    /* alias list */
  173. X    int    p_proto;    /* protocol # */
  174. X};
  175. X
  176. Xstruct hostent    *gethostbyname(), *gethostbyaddr(), *gethostent();
  177. Xstruct netent    *getnetbyname(), *getnetbyaddr(), *getnetent();
  178. Xstruct servent    *getservbyname(), *getservbyport(), *getservent();
  179. Xstruct protoent    *getprotobyname(), *getprotobynumber(), *getprotoent();
  180. X
  181. X/*
  182. X * Error return codes from gethostbyname() and gethostbyaddr()
  183. X */
  184. X
  185. Xextern  int h_errno;    
  186. X
  187. X#define    HOST_NOT_FOUND    1 /* Authoritive Answer Host not found */
  188. X#define    TRY_AGAIN    2 /* Non-Authoritive Host not found, or SERVERFAIL */
  189. X#define    NO_RECOVERY    3 /* Non recoverable errors, FORMERR, REFUSED, NOTIMP */
  190. X#define NO_ADDRESS    4 /* Valid host name, no address, look for MX record */
  191. END_OF_FILE
  192. if test 1717 -ne `wc -c <'ADDS/netdb.h'`; then
  193.     echo shar: \"'ADDS/netdb.h'\" unpacked with wrong size!
  194. fi
  195. # end of 'ADDS/netdb.h'
  196. fi
  197. if test -f 'ADDS/netinet/in.h' -a "${1}" != "-c" ; then 
  198.   echo shar: Will not clobber existing file \"'ADDS/netinet/in.h'\"
  199. else
  200. echo shar: Extracting \"'ADDS/netinet/in.h'\" \(3806 characters\)
  201. sed "s/^X//" >'ADDS/netinet/in.h' <<'END_OF_FILE'
  202. X/*    @(#)in.h    3.6    89/03/14    mt Xinu
  203. X *
  204. X * Copyright (c) 1982, 1986 Regents of the University of California.
  205. X * All rights reserved.
  206. X *
  207. X * Redistribution and use in source and binary forms are permitted
  208. X * provided that the above copyright notice and this paragraph are
  209. X * duplicated in all such forms and that any documentation,
  210. X * advertising materials, and other materials related to such
  211. X * distribution and use acknowledge that the software was developed
  212. X * by the University of California, Berkeley.  The name of the
  213. X * University may not be used to endorse or promote products derived
  214. X * from this software without specific prior written permission.
  215. X * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  216. X * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  217. X * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  218. X *
  219. X *    @(#)in.h    7.6 (Berkeley) 6/29/88
  220. X */
  221. X
  222. X#ifndef    __IN_H__
  223. X#define    __IN_H__
  224. X
  225. X/*
  226. X * Constants and structures defined by the internet system,
  227. X * Per RFC 790, September 1981.
  228. X */
  229. X
  230. X/*
  231. X * Protocols
  232. X */
  233. X#define    IPPROTO_IP        0        /* dummy for IP */
  234. X#define    IPPROTO_ICMP        1        /* control message protocol */
  235. X#define    IPPROTO_GGP        3        /* gateway^2 (deprecated) */
  236. X#define    IPPROTO_TCP        6        /* tcp */
  237. X#define    IPPROTO_EGP        8        /* exterior gateway protocol */
  238. X#define    IPPROTO_PUP        12        /* pup */
  239. X#define    IPPROTO_UDP        17        /* user datagram protocol */
  240. X#define    IPPROTO_IDP        22        /* xns idp */
  241. X
  242. X#define    IPPROTO_RAW        255        /* raw IP packet */
  243. X#define    IPPROTO_MAX        256
  244. X
  245. X
  246. X/*
  247. X * Ports < IPPORT_RESERVED are reserved for
  248. X * privileged processes (e.g. root).
  249. X * Ports > IPPORT_USERRESERVED are reserved
  250. X * for servers, not necessarily privileged.
  251. X */
  252. X#define    IPPORT_RESERVED        1024
  253. X#define    IPPORT_USERRESERVED    5000
  254. X
  255. X/*
  256. X * Link numbers
  257. X */
  258. X#define    IMPLINK_IP        155
  259. X#define    IMPLINK_LOWEXPER    156
  260. X#define    IMPLINK_HIGHEXPER    158
  261. X
  262. X/*
  263. X * Internet address (a structure for historical reasons)
  264. X */
  265. Xstruct in_addr {
  266. X    u_long s_addr;
  267. X};
  268. X
  269. X/*
  270. X * Definitions of bits in internet address integers.
  271. X * On subnets, the decomposition of addresses to host and net parts
  272. X * is done according to subnet mask, not the masks here.
  273. X */
  274. X#define    IN_CLASSA(i)        (((long)(i) & 0x80000000) == 0)
  275. X#define    IN_CLASSA_NET        0xff000000
  276. X#define    IN_CLASSA_NSHIFT    24
  277. X#define    IN_CLASSA_HOST        0x00ffffff
  278. X#define    IN_CLASSA_MAX        128
  279. X
  280. X#define    IN_CLASSB(i)        (((long)(i) & 0xc0000000) == 0x80000000)
  281. X#define    IN_CLASSB_NET        0xffff0000
  282. X#define    IN_CLASSB_NSHIFT    16
  283. X#define    IN_CLASSB_HOST        0x0000ffff
  284. X#define    IN_CLASSB_MAX        65536
  285. X
  286. X#define    IN_CLASSC(i)        (((long)(i) & 0xe0000000) == 0xc0000000)
  287. X#define    IN_CLASSC_NET        0xffffff00
  288. X#define    IN_CLASSC_NSHIFT    8
  289. X#define    IN_CLASSC_HOST        0x000000ff
  290. X
  291. X#define    IN_CLASSD(i)        (((long)(i) & 0xf0000000) == 0xe0000000)
  292. X#define    IN_MULTICAST(i)        IN_CLASSD(i)
  293. X
  294. X#define    IN_EXPERIMENTAL(i)    (((long)(i) & 0xe0000000) == 0xe0000000)
  295. X#define    IN_BADCLASS(i)        (((long)(i) & 0xf0000000) == 0xf0000000)
  296. X
  297. X#define    INADDR_ANY        (u_long)0x00000000
  298. X#define    INADDR_BROADCAST    (u_long)0xffffffff    /* must be masked */
  299. X#ifndef KERNEL
  300. X#define    INADDR_NONE        0xffffffff        /* -1 return */
  301. X#endif
  302. X
  303. X#define    IN_LOOPBACKNET        127            /* official! */
  304. X#define    INADDR_LOOPBACK        (u_long)0x7f000001    /* 127.0.0.1 */
  305. X
  306. X/*
  307. X * Socket address, internet style.
  308. X */
  309. Xstruct sockaddr_in {
  310. X    short    sin_family;
  311. X    u_short    sin_port;
  312. X    struct    in_addr sin_addr;
  313. X    char    sin_zero[8];
  314. X};
  315. X
  316. X/*
  317. X * Options for use with [gs]etsockopt at the IP level.
  318. X */
  319. X#define    IP_OPTIONS    1        /* set/get IP per-packet options */
  320. X#define    IP_HDRINCL    2        /* set/get RAW packet header option */
  321. X
  322. X/*
  323. X * Macros for number representation conversion.
  324. X */
  325. X#define    ntohl(x)    (x)
  326. X#define    ntohs(x)    (x)
  327. X#define    htonl(x)    (x)
  328. X#define    htons(x)    (x)
  329. X
  330. X
  331. X#ifdef KERNEL
  332. Xextern    struct domain inetdomain;
  333. Xextern    struct protosw inetsw[];
  334. Xstruct    in_addr in_makeaddr();
  335. Xu_long    in_netof(), in_lnaof();
  336. X#endif
  337. X
  338. X#endif
  339. END_OF_FILE
  340. if test 3806 -ne `wc -c <'ADDS/netinet/in.h'`; then
  341.     echo shar: \"'ADDS/netinet/in.h'\" unpacked with wrong size!
  342. fi
  343. # end of 'ADDS/netinet/in.h'
  344. fi
  345. if test -f 'ADDS/stdlib.h' -a "${1}" != "-c" ; then 
  346.   echo shar: Will not clobber existing file \"'ADDS/stdlib.h'\"
  347. else
  348. echo shar: Extracting \"'ADDS/stdlib.h'\" \(47 characters\)
  349. sed "s/^X//" >'ADDS/stdlib.h' <<'END_OF_FILE'
  350. X#include "/usr/local/lib/gcc-include/stdlib.h"
  351. END_OF_FILE
  352. if test 47 -ne `wc -c <'ADDS/stdlib.h'`; then
  353.     echo shar: \"'ADDS/stdlib.h'\" unpacked with wrong size!
  354. fi
  355. # end of 'ADDS/stdlib.h'
  356. fi
  357. if test -f 'ADDS/strings.h' -a "${1}" != "-c" ; then 
  358.   echo shar: Will not clobber existing file \"'ADDS/strings.h'\"
  359. else
  360. echo shar: Extracting \"'ADDS/strings.h'\" \(247 characters\)
  361. sed "s/^X//" >'ADDS/strings.h' <<'END_OF_FILE'
  362. X#include <string.h>
  363. X
  364. X/*
  365. X * map BSD style memory routines into SYSV equivalents
  366. X */
  367. X#define    bcopy(b1,b2,n)        memcpy(b2,b1,n)
  368. X#define bzero(b1,n)        memset(b1,0,n)
  369. X#define bcmp(s1,s2,n)        memcmp(s1,s2,n)
  370. X
  371. X#define index            strchr
  372. X#define rindex            strrchr
  373. END_OF_FILE
  374. if test 247 -ne `wc -c <'ADDS/strings.h'`; then
  375.     echo shar: \"'ADDS/strings.h'\" unpacked with wrong size!
  376. fi
  377. # end of 'ADDS/strings.h'
  378. fi
  379. if test ! -d 'ADDS/sys' ; then
  380.     echo shar: Creating directory \"'ADDS/sys'\"
  381.     mkdir 'ADDS/sys'
  382. fi
  383. if test -f 'ADDS/sys/resource.h' -a "${1}" != "-c" ; then 
  384.   echo shar: Will not clobber existing file \"'ADDS/sys/resource.h'\"
  385. else
  386. echo shar: Extracting \"'ADDS/sys/resource.h'\" \(3942 characters\)
  387. sed "s/^X//" >'ADDS/sys/resource.h' <<'END_OF_FILE'
  388. X/*
  389. X * Copyright (c) 1982, 1986 The Regents of the University of California.
  390. X * All rights reserved.
  391. X *
  392. X * Redistribution and use in source and binary forms, with or without
  393. X * modification, are permitted provided that the following conditions
  394. X * are met:
  395. X * 1. Redistributions of source code must retain the above copyright
  396. X *    notice, this list of conditions and the following disclaimer.
  397. X * 2. Redistributions in binary form must reproduce the above copyright
  398. X *    notice, this list of conditions and the following disclaimer in the
  399. X *    documentation and/or other materials provided with the distribution.
  400. X * 3. All advertising materials mentioning features or use of this software
  401. X *    must display the following acknowledgement:
  402. X *    This product includes software developed by the University of
  403. X *    California, Berkeley and its contributors.
  404. X * 4. Neither the name of the University nor the names of its contributors
  405. X *    may be used to endorse or promote products derived from this software
  406. X *    without specific prior written permission.
  407. X *
  408. X * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  409. X * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  410. X * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  411. X * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  412. X * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  413. X * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  414. X * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  415. X * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  416. X * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  417. X * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  418. X * SUCH DAMAGE.
  419. X *
  420. X *    @(#)resource.h    7.5 (Berkeley) 3/17/91
  421. X */
  422. X
  423. X#ifndef _RESOURCE_H_
  424. X#define    _RESOURCE_H_
  425. X
  426. X/*
  427. X * Process priority specifications to get/setpriority.
  428. X */
  429. X#define    PRIO_MIN    -20
  430. X#define    PRIO_MAX    20
  431. X
  432. X#define    PRIO_PROCESS    0
  433. X#define    PRIO_PGRP    1
  434. X#define    PRIO_USER    2
  435. X
  436. X/*
  437. X * Resource utilization information.
  438. X */
  439. X
  440. X#define    RUSAGE_SELF    0
  441. X#define    RUSAGE_CHILDREN    -1
  442. X
  443. Xstruct    rusage {
  444. X    struct timeval ru_utime;    /* user time used */
  445. X    struct timeval ru_stime;    /* system time used */
  446. X    long    ru_maxrss;        /* max resident set size */
  447. X#define    ru_first    ru_ixrss
  448. X    long    ru_ixrss;        /* integral shared memory size */
  449. X    long    ru_idrss;        /* integral unshared data " */
  450. X    long    ru_isrss;        /* integral unshared stack " */
  451. X    long    ru_minflt;        /* page reclaims */
  452. X    long    ru_majflt;        /* page faults */
  453. X    long    ru_nswap;        /* swaps */
  454. X    long    ru_inblock;        /* block input operations */
  455. X    long    ru_oublock;        /* block output operations */
  456. X    long    ru_msgsnd;        /* messages sent */
  457. X    long    ru_msgrcv;        /* messages received */
  458. X    long    ru_nsignals;        /* signals received */
  459. X    long    ru_nvcsw;        /* voluntary context switches */
  460. X    long    ru_nivcsw;        /* involuntary " */
  461. X#define    ru_last        ru_nivcsw
  462. X};
  463. X
  464. X/*
  465. X * Resource limits
  466. X */
  467. X#define    RLIMIT_CPU    0        /* cpu time in milliseconds */
  468. X#define    RLIMIT_FSIZE    1        /* maximum file size */
  469. X#define    RLIMIT_DATA    2        /* data size */
  470. X#define    RLIMIT_STACK    3        /* stack size */
  471. X#define    RLIMIT_CORE    4        /* core file size */
  472. X#define    RLIMIT_RSS    5        /* resident set size */
  473. X#define    RLIMIT_MEMLOCK    6        /* locked-in-memory address space */
  474. X#define    RLIMIT_NPROC    7        /* number of processes */
  475. X#define    RLIMIT_OFILE    8        /* number of open files */
  476. X
  477. X#define    RLIM_NLIMITS    9        /* number of resource limits */
  478. X
  479. X#define    RLIM_INFINITY    0x7fffffff
  480. X
  481. Xstruct rlimit {
  482. X    long    rlim_cur;        /* current (soft) limit */
  483. X    long    rlim_max;        /* maximum value for rlim_cur */
  484. X};
  485. X
  486. X#ifndef KERNEL
  487. X#include <sys/cdefs.h>
  488. X
  489. X__BEGIN_DECLS
  490. Xint    getpriority __P((int, int));
  491. Xint    getrlimit __P((int, struct rlimit *));
  492. Xint    getrusage __P((int, struct rusage *));
  493. Xint    setpriority __P((int, int, int));
  494. Xint    setrlimit __P((int, const struct rlimit *));
  495. X__END_DECLS
  496. X
  497. X#endif    /* !KERNEL */
  498. X#endif    /* !_RESOURCE_H_ */
  499. END_OF_FILE
  500. if test 3942 -ne `wc -c <'ADDS/sys/resource.h'`; then
  501.     echo shar: \"'ADDS/sys/resource.h'\" unpacked with wrong size!
  502. fi
  503. # end of 'ADDS/sys/resource.h'
  504. fi
  505. if test -f 'ADDS/sys/syslog.h' -a "${1}" != "-c" ; then 
  506.   echo shar: Will not clobber existing file \"'ADDS/sys/syslog.h'\"
  507. else
  508. echo shar: Extracting \"'ADDS/sys/syslog.h'\" \(3702 characters\)
  509. sed "s/^X//" >'ADDS/sys/syslog.h' <<'END_OF_FILE'
  510. X/*
  511. X * Copyright (c) 1982, 1986, 1988 Regents of the University of California.
  512. X * All rights reserved.
  513. X *
  514. X * Redistribution and use in source and binary forms are permitted
  515. X * provided that the above copyright notice and this paragraph are
  516. X * duplicated in all such forms and that any documentation,
  517. X * advertising materials, and other materials related to such
  518. X * distribution and use acknowledge that the software was developed
  519. X * by the University of California, Berkeley.  The name of the
  520. X * University may not be used to endorse or promote products derived
  521. X * from this software without specific prior written permission.
  522. X * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  523. X * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  524. X * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  525. X *
  526. X *    @(#)syslog.h    7.14 (Berkeley) 8/22/89
  527. X */
  528. X
  529. X/*
  530. X *  Facility codes
  531. X */
  532. X
  533. X#define LOG_KERN    (0<<3)    /* kernel messages */
  534. X#define LOG_USER    (1<<3)    /* random user-level messages */
  535. X#define LOG_MAIL    (2<<3)    /* mail system */
  536. X#define LOG_DAEMON    (3<<3)    /* system daemons */
  537. X#define LOG_AUTH    (4<<3)    /* security/authorization messages */
  538. X#define LOG_SYSLOG    (5<<3)    /* messages generated internally by syslogd */
  539. X#define LOG_LPR        (6<<3)    /* line printer subsystem */
  540. X#define LOG_NEWS    (7<<3)    /* network news subsystem */
  541. X#define LOG_UUCP    (8<<3)    /* UUCP subsystem */
  542. X#define LOG_CRON    (9<<3)    /* clock daemon */
  543. X    /* other codes through 15 reserved for system use */
  544. X#define LOG_LOCAL0    (16<<3)    /* reserved for local use */
  545. X#define LOG_LOCAL1    (17<<3)    /* reserved for local use */
  546. X#define LOG_LOCAL2    (18<<3)    /* reserved for local use */
  547. X#define LOG_LOCAL3    (19<<3)    /* reserved for local use */
  548. X#define LOG_LOCAL4    (20<<3)    /* reserved for local use */
  549. X#define LOG_LOCAL5    (21<<3)    /* reserved for local use */
  550. X#define LOG_LOCAL6    (22<<3)    /* reserved for local use */
  551. X#define LOG_LOCAL7    (23<<3)    /* reserved for local use */
  552. X
  553. X#define LOG_NFACILITIES    24    /* maximum number of facilities */
  554. X#define LOG_FACMASK    0x03f8    /* mask to extract facility part */
  555. X
  556. X#define LOG_FAC(p)    (((p) & LOG_FACMASK) >> 3)    /* facility of pri */
  557. X
  558. X/*
  559. X *  Priorities (these are ordered)
  560. X */
  561. X
  562. X#define LOG_EMERG    0    /* system is unusable */
  563. X#define LOG_ALERT    1    /* action must be taken immediately */
  564. X#define LOG_SALERT    1    /* action must be taken immediately */
  565. X#define LOG_CRIT    2    /* critical conditions */
  566. X#define LOG_ERR        3    /* error conditions */
  567. X#define LOG_ERROR    3    /* error conditions */
  568. X#define LOG_WARNING    4    /* warning conditions */
  569. X#define LOG_NOTICE    5    /* normal but significant condition */
  570. X#define LOG_INFO    6    /* informational */
  571. X#define LOG_DEBUG    7    /* debug-level messages */
  572. X
  573. X#define LOG_PRIMASK    0x0007    /* mask to extract priority part (internal) */
  574. X#define LOG_PRI(p)    ((p) & LOG_PRIMASK)    /* extract priority */
  575. X
  576. X#define    LOG_MAKEPRI(fac, pri)    (((fac) << 3) | (pri))
  577. X
  578. X#ifdef KERNEL
  579. X#define LOG_PRINTF    -1    /* pseudo-priority to indicate use of printf */
  580. X#endif
  581. X
  582. X/*
  583. X * arguments to setlogmask.
  584. X */
  585. X#define    LOG_MASK(pri)    (1 << (pri))        /* mask for one priority */
  586. X#define    LOG_UPTO(pri)    ((1 << ((pri)+1)) - 1)    /* all priorities through pri */
  587. X
  588. X/*
  589. X *  Option flags for openlog.
  590. X *
  591. X *    LOG_ODELAY no longer does anything; LOG_NDELAY is the
  592. X *    inverse of what it used to be.
  593. X */
  594. X#define    LOG_PID        0x01    /* log the pid with each message */
  595. X#define    LOG_CONS    0x02    /* log on the console if errors in sending */
  596. X#define    LOG_ODELAY    0x04    /* delay open until first syslog() (default) */
  597. X#define LOG_NDELAY    0x08    /* don't delay open */
  598. X#define LOG_NOWAIT    0x10    /* don't wait for console forks: DEPRECATED */
  599. X#define    LOG_PERROR    0x20    /* log to stderr as well */
  600. X
  601. X
  602. X/*
  603. X * Where to log...
  604. X */
  605. X#define LOG_HOST     "localhost"    /* name of host to log on */
  606. X
  607. END_OF_FILE
  608. if test 3702 -ne `wc -c <'ADDS/sys/syslog.h'`; then
  609.     echo shar: \"'ADDS/sys/syslog.h'\" unpacked with wrong size!
  610. fi
  611. # end of 'ADDS/sys/syslog.h'
  612. fi
  613. if test -f 'ADDS/sys/time.h' -a "${1}" != "-c" ; then 
  614.   echo shar: Will not clobber existing file \"'ADDS/sys/time.h'\"
  615. else
  616. echo shar: Extracting \"'ADDS/sys/time.h'\" \(487 characters\)
  617. sed "s/^X//" >'ADDS/sys/time.h' <<'END_OF_FILE'
  618. X#include <time.h>
  619. X
  620. Xstruct timeval {
  621. X    long    tv_sec;        /* seconds */
  622. X    long    tv_usec;    /* and microseconds */
  623. X};
  624. X
  625. Xstruct timezone {
  626. X    int    tz_minuteswest;    /* minutes west of Greenwich */
  627. X    int    tz_dsttime;    /* type of dst correction */
  628. X};
  629. X
  630. X#define    DST_NONE    0    /* not on dst */
  631. X#define    DST_USA        1    /* USA style dst */
  632. X#define    DST_AUST    2    /* Australian style dst */
  633. X#define    DST_WET        3    /* Western European dst */
  634. X#define    DST_MET        4    /* Middle European dst */
  635. X#define    DST_EET        5    /* Eastern European dst */
  636. X
  637. END_OF_FILE
  638. if test 487 -ne `wc -c <'ADDS/sys/time.h'`; then
  639.     echo shar: \"'ADDS/sys/time.h'\" unpacked with wrong size!
  640. fi
  641. # end of 'ADDS/sys/time.h'
  642. fi
  643. if test -f 'ADDS/sys/uio.h' -a "${1}" != "-c" ; then 
  644.   echo shar: Will not clobber existing file \"'ADDS/sys/uio.h'\"
  645. else
  646. echo shar: Extracting \"'ADDS/sys/uio.h'\" \(2665 characters\)
  647. sed "s/^X//" >'ADDS/sys/uio.h' <<'END_OF_FILE'
  648. X/*
  649. X * Copyright (c) 1982, 1986 The Regents of the University of California.
  650. X * All rights reserved.
  651. X *
  652. X * Redistribution and use in source and binary forms, with or without
  653. X * modification, are permitted provided that the following conditions
  654. X * are met:
  655. X * 1. Redistributions of source code must retain the above copyright
  656. X *    notice, this list of conditions and the following disclaimer.
  657. X * 2. Redistributions in binary form must reproduce the above copyright
  658. X *    notice, this list of conditions and the following disclaimer in the
  659. X *    documentation and/or other materials provided with the distribution.
  660. X * 3. All advertising materials mentioning features or use of this software
  661. X *    must display the following acknowledgement:
  662. X *    This product includes software developed by the University of
  663. X *    California, Berkeley and its contributors.
  664. X * 4. Neither the name of the University nor the names of its contributors
  665. X *    may be used to endorse or promote products derived from this software
  666. X *    without specific prior written permission.
  667. X *
  668. X * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  669. X * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  670. X * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  671. X * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  672. X * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  673. X * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  674. X * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  675. X * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  676. X * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  677. X * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  678. X * SUCH DAMAGE.
  679. X *
  680. X *    @(#)uio.h    7.8 (Berkeley) 4/15/91
  681. X */
  682. X
  683. X#ifndef _UIO_H_
  684. X#define    _UIO_H_
  685. X
  686. Xstruct iovec {
  687. X    caddr_t    iov_base;
  688. X    int    iov_len;
  689. X};
  690. X
  691. Xenum    uio_rw { UIO_READ, UIO_WRITE };
  692. X
  693. X/*
  694. X * Segment flag values.
  695. X */
  696. Xenum    uio_seg {
  697. X    UIO_USERSPACE,        /* from user data space */
  698. X    UIO_SYSSPACE,        /* from system space */
  699. X    UIO_USERISPACE        /* from user I space */
  700. X};
  701. X
  702. Xstruct uio {
  703. X    struct    iovec *uio_iov;
  704. X    int    uio_iovcnt;
  705. X    off_t    uio_offset;
  706. X    int    uio_resid;
  707. X    enum    uio_seg uio_segflg;
  708. X    enum    uio_rw uio_rw;
  709. X    struct    proc *uio_procp;
  710. X};
  711. X
  712. X /*
  713. X  * Limits
  714. X  */
  715. X#define UIO_MAXIOV    1024        /* max 1K of iov's */
  716. X#define UIO_SMALLIOV    8        /* 8 on stack, else malloc */
  717. X
  718. X#ifndef    KERNEL
  719. X
  720. X#include <sys/cdefs.h>
  721. X
  722. X__BEGIN_DECLS
  723. Xint    readv __P((int, const struct iovec *, int));
  724. Xint    writev __P((int, const struct iovec *, int));
  725. X__END_DECLS
  726. X
  727. X#endif    /* !KERNEL */
  728. X
  729. X#endif /* !_UIO_H_ */
  730. END_OF_FILE
  731. if test 2665 -ne `wc -c <'ADDS/sys/uio.h'`; then
  732.     echo shar: \"'ADDS/sys/uio.h'\" unpacked with wrong size!
  733. fi
  734. # end of 'ADDS/sys/uio.h'
  735. fi
  736. if test -f 'ADDS/sysexits.h' -a "${1}" != "-c" ; then 
  737.   echo shar: Will not clobber existing file \"'ADDS/sysexits.h'\"
  738. else
  739. echo shar: Extracting \"'ADDS/sysexits.h'\" \(4568 characters\)
  740. sed "s/^X//" >'ADDS/sysexits.h' <<'END_OF_FILE'
  741. X/*
  742. X * Copyright (c) 1987 Regents of the University of California.
  743. X * All rights reserved.
  744. X *
  745. X * Redistribution and use in source and binary forms are permitted
  746. X * provided that the above copyright notice and this paragraph are
  747. X * duplicated in all such forms and that any documentation,
  748. X * advertising materials, and other materials related to such
  749. X * distribution and use acknowledge that the software was developed
  750. X * by the University of California, Berkeley.  The name of the
  751. X * University may not be used to endorse or promote products derived
  752. X * from this software without specific prior written permission.
  753. X * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  754. X * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  755. X * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  756. X *
  757. X *    @(#)sysexits.h    4.5 (Berkeley) 7/6/88
  758. X */
  759. X
  760. X/*
  761. X**  SYSEXITS.H -- Exit status codes for system programs.
  762. X**
  763. X**    This include file attempts to categorize possible error
  764. X**    exit statuses for system programs, notably delivermail
  765. X**    and the Berkeley network.
  766. X**
  767. X**    Error numbers begin at EX__BASE to reduce the possibility of
  768. X**    clashing with other exit statuses that random programs may
  769. X**    already return.  The meaning of the codes is approximately
  770. X**    as follows:
  771. X**
  772. X**    EX_USAGE -- The command was used incorrectly, e.g., with
  773. X**        the wrong number of arguments, a bad flag, a bad
  774. X**        syntax in a parameter, or whatever.
  775. X**    EX_DATAERR -- The input data was incorrect in some way.
  776. X**        This should only be used for user's data & not
  777. X**        system files.
  778. X**    EX_NOINPUT -- An input file (not a system file) did not
  779. X**        exist or was not readable.  This could also include
  780. X**        errors like "No message" to a mailer (if it cared
  781. X**        to catch it).
  782. X**    EX_NOUSER -- The user specified did not exist.  This might
  783. X**        be used for mail addresses or remote logins.
  784. X**    EX_NOHOST -- The host specified did not exist.  This is used
  785. X**        in mail addresses or network requests.
  786. X**    EX_UNAVAILABLE -- A service is unavailable.  This can occur
  787. X**        if a support program or file does not exist.  This
  788. X**        can also be used as a catchall message when something
  789. X**        you wanted to do doesn't work, but you don't know
  790. X**        why.
  791. X**    EX_SOFTWARE -- An internal software error has been detected.
  792. X**        This should be limited to non-operating system related
  793. X**        errors as possible.
  794. X**    EX_OSERR -- An operating system error has been detected.
  795. X**        This is intended to be used for such things as "cannot
  796. X**        fork", "cannot create pipe", or the like.  It includes
  797. X**        things like getuid returning a user that does not
  798. X**        exist in the passwd file.
  799. X**    EX_OSFILE -- Some system file (e.g., /etc/passwd, /etc/utmp,
  800. X**        etc.) does not exist, cannot be opened, or has some
  801. X**        sort of error (e.g., syntax error).
  802. X**    EX_CANTCREAT -- A (user specified) output file cannot be
  803. X**        created.
  804. X**    EX_IOERR -- An error occurred while doing I/O on some file.
  805. X**    EX_TEMPFAIL -- temporary failure, indicating something that
  806. X**        is not really an error.  In sendmail, this means
  807. X**        that a mailer (e.g.) could not create a connection,
  808. X**        and the request should be reattempted later.
  809. X**    EX_PROTOCOL -- the remote system returned something that
  810. X**        was "not possible" during a protocol exchange.
  811. X**    EX_NOPERM -- You did not have sufficient permission to
  812. X**        perform the operation.  This is not intended for
  813. X**        file system problems, which should use NOINPUT or
  814. X**        CANTCREAT, but rather for higher level permissions.
  815. X**        For example, kre uses this to restrict who students
  816. X**        can send mail to.
  817. X**
  818. X**    Maintained by Eric Allman (eric@berkeley, ucbvax!eric) --
  819. X**        please mail changes to me.
  820. X**
  821. X**            @(#)sysexits.h    4.5        7/6/88
  822. X*/
  823. X
  824. X# define EX_OK        0    /* successful termination */
  825. X
  826. X# define EX__BASE    64    /* base value for error messages */
  827. X
  828. X# define EX_USAGE    64    /* command line usage error */
  829. X# define EX_DATAERR    65    /* data format error */
  830. X# define EX_NOINPUT    66    /* cannot open input */
  831. X# define EX_NOUSER    67    /* addressee unknown */
  832. X# define EX_NOHOST    68    /* host name unknown */
  833. X# define EX_UNAVAILABLE    69    /* service unavailable */
  834. X# define EX_SOFTWARE    70    /* internal software error */
  835. X# define EX_OSERR    71    /* system error (e.g., can't fork) */
  836. X# define EX_OSFILE    72    /* critical OS file missing */
  837. X# define EX_CANTCREAT    73    /* can't create (user) output file */
  838. X# define EX_IOERR    74    /* input/output error */
  839. X# define EX_TEMPFAIL    75    /* temp failure; user is invited to retry */
  840. X# define EX_PROTOCOL    76    /* remote error in protocol */
  841. X# define EX_NOPERM    77    /* permission denied */
  842. X# define EX_CONFIG    78    /* configuration error */
  843. END_OF_FILE
  844. if test 4568 -ne `wc -c <'ADDS/sysexits.h'`; then
  845.     echo shar: \"'ADDS/sysexits.h'\" unpacked with wrong size!
  846. fi
  847. # end of 'ADDS/sysexits.h'
  848. fi
  849. if test -f 'ADDS/syslog.h' -a "${1}" != "-c" ; then 
  850.   echo shar: Will not clobber existing file \"'ADDS/syslog.h'\"
  851. else
  852. echo shar: Extracting \"'ADDS/syslog.h'\" \(2932 characters\)
  853. sed "s/^X//" >'ADDS/syslog.h' <<'END_OF_FILE'
  854. X/*    @(#)syslog.h 1.2 83/08/22 SMI; from UCB 4.1 83/05/27    */
  855. X
  856. X/*
  857. X *  SYSLOG.H -- declarations for system logging program
  858. X *
  859. X *    These are used as the first parameter to logmsg().
  860. X *    Their meanings are approximately as follows:
  861. X *
  862. X *    LOG_ALERT -- this priority should essentially never
  863. X *        be used.  It applies only to messages that
  864. X *        are so important that every user should be
  865. X *        aware of them, e.g., a serious hardware failure.
  866. X *    LOG_SALERT -- messages of this priority should be
  867. X *        issued only when immediate attention is needed
  868. X *        by a qualified system person, e.g., when some
  869. X *        valuable system resource dissappears.  They get
  870. X *        sent to a list of system people.
  871. X *    LOG_EMERG -- Emergency messages are not sent to users,
  872. X *        but represent major conditions.  An example
  873. X *        might be hard disk failures.  These could be
  874. X *        logged in a separate file so that critical
  875. X *        conditions could be easily scanned.
  876. X *    LOG_ERR -- these represent error conditions, such as soft
  877. X *        disk failures, etc.
  878. X *    LOG_CRIT -- such messages contain critical information,
  879. X *        but which can not be classed as errors, for example,
  880. X *        'su' attempts.
  881. X *    LOG_WARNING -- issued when an abnormal condition has been
  882. X *        detected, but recovery can take place.
  883. X *    LOG_NOTICE -- something that falls in the class of
  884. X *        "important information"; this class is informational
  885. X *        but important enough that you don't want to throw
  886. X *        it away casually.
  887. X *    LOG_INFO -- information level messages.  These messages
  888. X *        could be thrown away without problems, but should
  889. X *        be included if you want to keep a close watch on
  890. X *        your system.
  891. X *    LOG_DEBUG -- it may be useful to log certain debugging
  892. X *        information.  Normally this will be thrown away.
  893. X */
  894. X
  895. X/* some configuration parameters..... */
  896. X#define LOG_IPC                /* set if using 4.2 IPC, else mpx */
  897. X#define LOG_HOST     "loghost"    /* name of host to log on */
  898. X
  899. X/* defines for priorities */
  900. X#define    LOG_ALERT    1    /* alert -- send to all users */
  901. X#define    LOG_SALERT    2    /* subalert -- send to special users */
  902. X#define    LOG_EMERG    3    /* emergency conditions */
  903. X#define    LOG_ERROR    4    /* error */
  904. X#define    LOG_ERR        4    /* synonym of LOG_ERROR */
  905. X#define    LOG_CRIT    5    /* critical information */
  906. X#define    LOG_WARNING    6    /* warning */
  907. X#define    LOG_NOTICE    7    /* important information */
  908. X#define    LOG_INFO    8    /* informational message */
  909. X#define    LOG_DEBUG    9    /* debug level info */
  910. X
  911. X/*
  912. X *  Mode parameters to initlog.
  913. X */
  914. X#define    LOG_NULL    0    /* don't touch log */
  915. X#define    LOG_SOUT    1    /* log standard & diag output */
  916. X#define    LOG_DIAG    2    /* log diagnostic output */
  917. X#define    LOG_INDEP    3    /* log independently */
  918. X#define    LOG_CLOSE    4    /* close the log */
  919. X
  920. X/*
  921. X *  Status parameters to initlog.
  922. X */
  923. X#define    LOG_PID        0001    /* log the pid with each message */
  924. X#define    LOG_TIME    0002    /* log the time with each message */
  925. X#define    LOG_COOLIT    0004    /* suppress priority stuff */
  926. X#define    LOG_DGRAM    0010    /* running over a datagram socket */
  927. X
  928. X#define IPPORT_SYSLOG    514
  929. END_OF_FILE
  930. if test 2932 -ne `wc -c <'ADDS/syslog.h'`; then
  931.     echo shar: \"'ADDS/syslog.h'\" unpacked with wrong size!
  932. fi
  933. # end of 'ADDS/syslog.h'
  934. fi
  935. if test ! -d 'CHANGES' ; then
  936.     echo shar: Creating directory \"'CHANGES'\"
  937.     mkdir 'CHANGES'
  938. fi
  939. if test -f 'CHANGES/grp.h' -a "${1}" != "-c" ; then 
  940.   echo shar: Will not clobber existing file \"'CHANGES/grp.h'\"
  941. else
  942. echo shar: Extracting \"'CHANGES/grp.h'\" \(240 characters\)
  943. sed "s/^X//" >'CHANGES/grp.h' <<'END_OF_FILE'
  944. X#sccs    "@(#)inchead:grp.h    1.1"
  945. X
  946. X/*    Convergent Technologies - System V - May 1983    */
  947. X
  948. Xstruct    group {    /* see getgrent(3) */
  949. X    char    *gr_name;
  950. X    char    *gr_passwd;
  951. X    int    gr_gid;
  952. X    char    **gr_mem;
  953. X};
  954. X
  955. Xstruct group *getgrent(), *getgrgid(), *getgrnam();
  956. END_OF_FILE
  957. if test 240 -ne `wc -c <'CHANGES/grp.h'`; then
  958.     echo shar: \"'CHANGES/grp.h'\" unpacked with wrong size!
  959. fi
  960. # end of 'CHANGES/grp.h'
  961. fi
  962. if test -f 'CHANGES/pwd.h' -a "${1}" != "-c" ; then 
  963.   echo shar: Will not clobber existing file \"'CHANGES/pwd.h'\"
  964. else
  965. echo shar: Extracting \"'CHANGES/pwd.h'\" \(380 characters\)
  966. sed "s/^X//" >'CHANGES/pwd.h' <<'END_OF_FILE'
  967. X#sccs    "@(#)inchead:pwd.h    1.1"
  968. X
  969. X/*    Convergent Technologies - System V - May 1983    */
  970. X
  971. Xstruct passwd {
  972. X    char    *pw_name;
  973. X    char    *pw_passwd;
  974. X    int    pw_uid;
  975. X    int    pw_gid;
  976. X    char    *pw_age;
  977. X    char    *pw_comment;
  978. X    char    *pw_gecos;
  979. X    char    *pw_dir;
  980. X    char    *pw_shell;
  981. X};
  982. X
  983. Xstruct comment {
  984. X    char    *c_dept;
  985. X    char    *c_name;
  986. X    char    *c_acct;
  987. X    char    *c_bin;
  988. X};
  989. X
  990. Xstruct passwd *getpwent(), *getpwuid(), *getpwnam();
  991. END_OF_FILE
  992. if test 380 -ne `wc -c <'CHANGES/pwd.h'`; then
  993.     echo shar: \"'CHANGES/pwd.h'\" unpacked with wrong size!
  994. fi
  995. # end of 'CHANGES/pwd.h'
  996. fi
  997. if test -f 'CHANGES/stdio.h' -a "${1}" != "-c" ; then 
  998.   echo shar: Will not clobber existing file \"'CHANGES/stdio.h'\"
  999. else
  1000. echo shar: Extracting \"'CHANGES/stdio.h'\" \(2311 characters\)
  1001. sed "s/^X//" >'CHANGES/stdio.h' <<'END_OF_FILE'
  1002. X#sccs    "@(#)inchead:stdio.h    1.3"
  1003. X
  1004. X/*    Convergent Technologies - System V - May 1983    */
  1005. X
  1006. X#ifndef _NFILE
  1007. X#define _NFILE    80
  1008. X
  1009. X#if u370
  1010. X#define BUFSIZ    4096
  1011. X#endif
  1012. X#if vax || u3b
  1013. X#define BUFSIZ    1024
  1014. X#endif
  1015. X#if pdp11
  1016. X#define BUFSIZ    512
  1017. X#endif
  1018. X#if mc68k
  1019. X#define BUFSIZ 1024
  1020. X#endif
  1021. X
  1022. X/* buffer size for multi-character output to unbuffered files */
  1023. X#define _SBFSIZ 8
  1024. X
  1025. Xtypedef struct {
  1026. X#if vax || u3b || mc68k
  1027. X    int    _cnt;
  1028. X    unsigned char    *_ptr;
  1029. X#else
  1030. X    unsigned char    *_ptr;
  1031. X    int    _cnt;
  1032. X#endif
  1033. X    unsigned char    *_base;
  1034. X    char    _flag;
  1035. X    char    _file;
  1036. X} FILE;
  1037. X
  1038. X/*
  1039. X * _IOLBF means a file is a terminal; this means, in particular,
  1040. X * that output will be buffered line by line
  1041. X */
  1042. X#define _IOFBF        0000
  1043. X#define _IOREAD        0001
  1044. X#define _IOWRT        0002
  1045. X#define _IONBF        0004
  1046. X#define _IOMYBUF    0010
  1047. X#define _IOEOF        0020
  1048. X#define _IOERR        0040
  1049. X#define _IOLBF        0100
  1050. X#define _IORW        0200
  1051. X
  1052. X#ifndef NULL
  1053. X#define NULL        0
  1054. X#endif
  1055. X#ifndef EOF
  1056. X#define EOF        (-1)
  1057. X#endif
  1058. X
  1059. X#define stdin        (&_iob[0])
  1060. X#define stdout        (&_iob[1])
  1061. X#define stderr        (&_iob[2])
  1062. X
  1063. X#define _bufend(p)    (((p)->_file < 20) ? _bufendtab[(p)->_file] : _buf2endtab[(p)->_file-20])
  1064. X#define _bufsiz(p)    (_bufend(p) - (p)->_base)
  1065. X
  1066. X#ifndef lint
  1067. X#define getc(p)        (--(p)->_cnt >= 0 ? (int) *(p)->_ptr++ : _filbuf(p))
  1068. X#define putc(x, p)    (--(p)->_cnt >= 0 ? \
  1069. X            ((int) (*(p)->_ptr++ = (unsigned char) (x))) : \
  1070. X            _flsbuf((unsigned char) (x), (p)))
  1071. X#define getchar()    getc(stdin)
  1072. X#define putchar(x)    putc((x), stdout)
  1073. X#define clearerr(p)    ((void) ((p)->_flag &= ~(_IOERR | _IOEOF)))
  1074. X#define feof(p)        ((p)->_flag & _IOEOF)
  1075. X#define ferror(p)    ((p)->_flag & _IOERR)
  1076. X#define fileno(p)    (p)->_file
  1077. X#endif
  1078. X
  1079. Xextern FILE    _iob[20];
  1080. Xextern FILE    _iob2[_NFILE-20];
  1081. Xextern FILE    *fopen(), *fdopen(), *freopen(), *popen(), *tmpfile();
  1082. Xextern long    ftell();
  1083. Xextern void    rewind(), setbuf();
  1084. Xextern char    *ctermid(), *cuserid(), *fgets(), *gets(), *tempnam(), *tmpnam();
  1085. Xextern unsigned char *_bufendtab[];
  1086. Xextern unsigned char *_buf2endtab[];
  1087. X
  1088. X#define L_ctermid    9
  1089. X#define L_cuserid    9
  1090. X#define P_tmpdir    "/usr/tmp/"
  1091. X#define L_tmpnam    (sizeof(P_tmpdir) + 15)
  1092. X
  1093. X/*
  1094. X * Special defines for using the iexec library without making extensive
  1095. X * changes to existing code
  1096. X */
  1097. X#ifdef    LIB_IEXEC
  1098. X# define    execl    iexecl
  1099. X# define    execv    iexecv
  1100. X# define    execle    iexecle
  1101. X# define    execve    iexecve
  1102. X# define    execlp    iexeclp
  1103. X# define    execvp    iexecvp
  1104. X#endif
  1105. X
  1106. X#endif
  1107. END_OF_FILE
  1108. if test 2311 -ne `wc -c <'CHANGES/stdio.h'`; then
  1109.     echo shar: \"'CHANGES/stdio.h'\" unpacked with wrong size!
  1110. fi
  1111. # end of 'CHANGES/stdio.h'
  1112. fi
  1113. if test ! -d 'CHANGES/sys' ; then
  1114.     echo shar: Creating directory \"'CHANGES/sys'\"
  1115.     mkdir 'CHANGES/sys'
  1116. fi
  1117. if test -f 'CHANGES/sys/proc.h' -a "${1}" != "-c" ; then 
  1118.   echo shar: Will not clobber existing file \"'CHANGES/sys/proc.h'\"
  1119. else
  1120. echo shar: Extracting \"'CHANGES/sys/proc.h'\" \(5713 characters\)
  1121. sed "s/^X//" >'CHANGES/sys/proc.h' <<'END_OF_FILE'
  1122. X#sccs    "@(#)uts/kern/sys:proc.h    1.2"
  1123. X
  1124. X/*    Convergent Technologies - System V - May 1983    */
  1125. X
  1126. X#ifndef proc_h
  1127. X#define proc_h
  1128. X
  1129. X#include <sys/types.h>
  1130. X#include <sys/text.h>
  1131. X#ifdef VTIMES
  1132. X#include <sys/vtimes.h>
  1133. X#endif
  1134. X#include <sys/param.h>
  1135. X#include <sys/shm.h>
  1136. X
  1137. X/*    fork types - parameter to newproc    */
  1138. X#define KFORK    0    /* original kernel call of newproc */
  1139. X#define OFORK    1    /* original sys1 call of newproc */
  1140. X/* #define VFORK    2    ** vfork call of newproc */
  1141. X
  1142. X/*
  1143. X * One structure allocated per active process. It contains all data needed
  1144. X * about the process while the process may be swapped out.
  1145. X * Other per process data (user.h) is swapped with the process.
  1146. X */
  1147. X
  1148. Xstruct    proc {
  1149. X    struct    proc *p_link;    /* linked list of running processes */
  1150. X    int    p_flag;
  1151. X    char    p_stat;
  1152. X    char    p_pri;        /* priority, negative is high */
  1153. X    char    p_time;        /* resident time for scheduling */
  1154. X    char    p_cpu;        /* cpu usage for scheduling */
  1155. X    char    p_nice;        /* nice for cpu usage */
  1156. X    char    p_szpt;        /* 0 - 1 page user tbl, 1 - 2 page user tbl */
  1157. X    char    p_usrpri;    /* user-priority based on p_cpu and p_nice */
  1158. X    char    p_slptime;    /* time since last block */
  1159. X    ushort    p_uid;        /* real user id */
  1160. X    ushort    p_suid;        /* set (effective) user id */
  1161. X    short    p_pgrp;        /* name of process group leader */
  1162. X    short    p_pid;        /* unique process id */
  1163. X    short    p_ppid;        /* process id of parent */
  1164. X    ushort    p_addr[2];    /* physical page no of u-area */
  1165. X    struct    proc *p_pptr;    /* pointer to process structure of parent */
  1166. X    swblk_t    p_swaddr;    /* disk address of u area when swapped */
  1167. X    size_t    p_tsize;    /* size of text (clicks)(used by exec/swapin) */
  1168. X    size_t    p_ssize;    /* size of stack(clicks)(used by exec/swapin) */
  1169. X    size_t    p_dsize;    /* size of data space (clicks) */
  1170. X    size_t    p_lsize;    /* size of shared lib data (clicks) */
  1171. X    size_t    p_tpage;    /* no of pages(rounded to segment) of text */
  1172. X    size_t    p_dpage;    /* no of pages(rounded to segment) of data */
  1173. X    size_t    p_spage;    /* no of pages(rounded to segment) of stack */
  1174. X    size_t     p_rssize;     /* current resident set size in clicks */
  1175. X    size_t    p_maxrss;    /* copy of u.u_limit[MAXRSS] */
  1176. X    size_t    p_swrss;    /* resident set size before last swap */
  1177. X    long    p_sig;        /* signals pending to this process */
  1178. X    union {
  1179. X        caddr_t    p_cad;    /* event process is awaiting */
  1180. X        int    p_int;
  1181. X    } p_unw;
  1182. X#define    p_wchan    p_unw.p_cad
  1183. X#define    p_arg    p_unw.p_int
  1184. X    struct text *p_textp;    /* pointer to text structure */
  1185. X    struct    proc *p_xlink;    /* linked list of procs sharing same text */
  1186. X    int    p_clktim;    /* time to alarm clock signal */
  1187. X    struct shmpt_ds    *p_smbeg;    /* beginning pte entry for shared memory */
  1188. X    int    p_smend;    /* ending pte entry for shared memory */
  1189. X    short    p_ndx;        /* proc index for memall (because of vfork) */
  1190. X    ushort    p_xino;        /* disk inode no for the text file - extension
  1191. X                   from cmap structure. */
  1192. X    short    p_poip;        /* count of page outs in progress */
  1193. X};
  1194. X#ifdef KERNEL
  1195. Xextern struct proc *proc;    /* the proc table itself */
  1196. X#endif
  1197. X
  1198. X/* stat codes */
  1199. X#define    SSLEEP    1        /* awaiting an event */
  1200. X#define    SWAIT    2        /* (abandoned state) */
  1201. X#define    SRUN    3        /* running */
  1202. X#define    SIDL    4        /* intermediate state in process creation */
  1203. X#define    SZOMB    5        /* intermediate state in process termination */
  1204. X#define    SSTOP    6        /* process being traced */
  1205. X#define    SXBRK    7        /* process being xswapped */
  1206. X#define    SXSTK    8        /* process being xswapped */
  1207. X#define    SXTXT    9        /* process being xswapped */
  1208. X
  1209. X/* flag codes */
  1210. X#define    SLOAD    0x000001    /* in core */
  1211. X#define    SSYS    0x000002    /* swapper or pager process */
  1212. X#define    SLOCK    0x000004    /* process being swapped out */
  1213. X#define    SSWAP    0x000008    /* save area flag */
  1214. X#define    STRC    0x000010    /* process is being traced */
  1215. X#define    SWTED    0x000020    /* another tracing flag */
  1216. X#ifdef SWAP
  1217. X#define    STEXT    0100        /* text pointer valid */
  1218. X#define    SSPART    0200        /* process is partially swapped out */
  1219. X#else
  1220. X#define SULOCK    0x000040    /* prevent a user process to be swapped out */
  1221. X#define    SPAGE    0x000080    /* process in page wait state */
  1222. X#define    SKEEP    0x000100    /* another flag to prevent swap out */
  1223. X/* #define    SDLYU    0x000200    ** delayed unlock of pages */
  1224. X#define    SWEXIT    0x000400    /* working on exiting */
  1225. X#define    SPHYSIO    0x000800    /* doing physical i/o (bio.c) */
  1226. X#ifdef VFORK
  1227. X#define    SVFORK    0x001000    /* process resulted from vfork() */
  1228. X#define    SVFDONE    0x002000    /* another vfork flag */
  1229. X#define    SNOVM    0x004000    /* no vm, parent in a vfork() */
  1230. X#endif VFORK
  1231. X#define    SPAGI    0x008000    /* init data space on demand, from inode */
  1232. X#define    SSEQL    0x010000    /* user warned of sequential vm behavior */
  1233. X#define    SUANOM    0x020000    /* user warned of random vm behavior */
  1234. X#define    STIMO    0x040000    /* timing out during sleep */
  1235. X#define    SDETACH    0x080000    /* detached inherited by init */
  1236. X#define    SOWEUPC    0x200000    /* owe process an addupc() call at next ast */
  1237. X#endif
  1238. X#define    SPOLL    0x1000000    /* SPOLL flag for Starlan */
  1239. X
  1240. X/*
  1241. X * parallel proc structure
  1242. X * to replace part with times
  1243. X * to be passed to parent process
  1244. X * in ZOMBIE state.
  1245. X */
  1246. X#ifndef NPROC
  1247. Xstruct    xproc {
  1248. X    struct    proc *xp_link;    /* linked list of running processes */
  1249. X    int    xp_flag;
  1250. X    char    xp_stat;
  1251. X    char    xp_pri;        /* priority, negative is high */
  1252. X    char    xp_time;    /* resident time for scheduling */
  1253. X    char    xp_cpu;        /* cpu usage for scheduling */
  1254. X    char    xp_nice;    /* nice for cpu usage */
  1255. X    char    xp_szpt;
  1256. X    char    xp_usrpri;
  1257. X    char    xp_slptime;
  1258. X    ushort    xp_uid;        /* real user id */
  1259. X    ushort    xp_suid;    /* set (effective) user id */
  1260. X    short    xp_pgrp;    /* name of process group leader */
  1261. X    short    xp_pid;        /* unique process id */
  1262. X    short    xp_ppid;    /* process id of parent */
  1263. X    ushort  xp_addr[2];
  1264. X    struct    proc *xp_pptr;    /* pointer to process structure of parent */
  1265. X    short    xp_xstat;    /* Exit status for wait */
  1266. X    time_t    xp_utime;    /* user time, this proc */
  1267. X    time_t    xp_stime;    /* system time, this proc */
  1268. X#ifdef VTIMES
  1269. X    struct    vtimes xp_vm;
  1270. X#endif VTIMES
  1271. X};
  1272. X#endif
  1273. X#endif
  1274. END_OF_FILE
  1275. if test 5713 -ne `wc -c <'CHANGES/sys/proc.h'`; then
  1276.     echo shar: \"'CHANGES/sys/proc.h'\" unpacked with wrong size!
  1277. fi
  1278. # end of 'CHANGES/sys/proc.h'
  1279. fi
  1280. if test -f 'CHANGES/sys/signal.h' -a "${1}" != "-c" ; then 
  1281.   echo shar: Will not clobber existing file \"'CHANGES/sys/signal.h'\"
  1282. else
  1283. echo shar: Extracting \"'CHANGES/sys/signal.h'\" \(1339 characters\)
  1284. sed "s/^X//" >'CHANGES/sys/signal.h' <<'END_OF_FILE'
  1285. X#sccs    "@(#)uts/kern/sys:signal.h    1.1"
  1286. X
  1287. X/*    Convergent Technologies - System V - May 1983    */
  1288. X
  1289. X#ifndef signal_h
  1290. X#define signal_h
  1291. X
  1292. X#define    SIGHUP    1    /* hangup */
  1293. X#define    SIGINT    2    /* interrupt (rubout) */
  1294. X#define    SIGQUIT    3    /* quit (ASCII FS) */
  1295. X#define    SIGILL    4    /* illegal instruction (not reset when caught)*/
  1296. X#define    SIGTRAP    5    /* trace trap (not reset when caught) */
  1297. X#define    SIGIOT    6    /* IOT instruction */
  1298. X#define    SIGEMT    7    /* EMT instruction */
  1299. X#define    SIGFPE    8    /* floating point exception */
  1300. X#define    SIGKILL    9    /* kill (cannot be caught or ignored) */
  1301. X#define    SIGBUS    10    /* bus error */
  1302. X#define    SIGSEGV    11    /* segmentation violation */
  1303. X#define    SIGSYS    12    /* bad argument to system call */
  1304. X#define    SIGPIPE    13    /* write on a pipe with no one to read it */
  1305. X#define    SIGALRM    14    /* alarm clock */
  1306. X#define    SIGTERM    15    /* software termination signal from kill */
  1307. X#define    SIGUSR1    16    /* user defined signal 1 */
  1308. X#define    SIGUSR2    17    /* user defined signal 2 */
  1309. X#define    SIGCLD    18    /* death of a child */
  1310. X#define    SIGPWR    19    /* power-fail restart */
  1311. X#define SIGWIND    20    /* window change */
  1312. X#define SIGPHONE 21    /* handset, line status change    */
  1313. X
  1314. X/*
  1315. X * Signals added by UIPC package
  1316. X */
  1317. X#define SIGURG    22
  1318. X#define SIGIO    23
  1319. X
  1320. X
  1321. X#define    NSIG    32
  1322. X
  1323. X#define    SIG_DFL    (int (*)())0
  1324. X#if lint
  1325. X#define    SIG_IGN    (int (*)())0
  1326. X#else
  1327. X#define    SIG_IGN    (int (*)())1
  1328. X#endif
  1329. X
  1330. X#endif signal_h
  1331. END_OF_FILE
  1332. if test 1339 -ne `wc -c <'CHANGES/sys/signal.h'`; then
  1333.     echo shar: \"'CHANGES/sys/signal.h'\" unpacked with wrong size!
  1334. fi
  1335. # end of 'CHANGES/sys/signal.h'
  1336. fi
  1337. if test -f 'CHANGES/sys/types.h' -a "${1}" != "-c" ; then 
  1338.   echo shar: Will not clobber existing file \"'CHANGES/sys/types.h'\"
  1339. else
  1340. echo shar: Extracting \"'CHANGES/sys/types.h'\" \(1963 characters\)
  1341. sed "s/^X//" >'CHANGES/sys/types.h' <<'END_OF_FILE'
  1342. X#sccs    "@(#)uts/kern/sys:types.h    1.1"
  1343. X
  1344. X/*    Convergent Technologies - System V - May 1983    */
  1345. X
  1346. X#ifndef types_h
  1347. X#define types_h
  1348. X
  1349. Xtypedef    struct { int r[1]; } *    physadr;
  1350. Xtypedef    long        daddr_t;
  1351. Xtypedef    char *        caddr_t;
  1352. Xtypedef    unsigned int    uint;
  1353. Xtypedef    unsigned short    ushort;
  1354. Xtypedef    ushort        ino_t;
  1355. Xtypedef short        cnt_t;
  1356. Xtypedef    long        time_t;
  1357. Xtypedef    int        label_t[13];    /* regs d2-d7, a2-a7, pc */
  1358. Xtypedef    short        dev_t;
  1359. Xtypedef    long        off_t;
  1360. Xtypedef    long        paddr_t;
  1361. Xtypedef    long        key_t;
  1362. Xtypedef int        swblk_t;
  1363. Xtypedef int        size_t;
  1364. Xtypedef unsigned char    port_t;        /* local TP/CP port numbers */
  1365. Xtypedef unsigned char    mdev_t;        /* minor device type */
  1366. X
  1367. X/*
  1368. X * BSD compatibility stuff
  1369. X */
  1370. X
  1371. Xtypedef    unsigned char    u_char;
  1372. Xtypedef    unsigned int    u_int;
  1373. Xtypedef    unsigned short    u_short;
  1374. Xtypedef    unsigned long    u_long;
  1375. X
  1376. X#ifndef    MAXPATHLEN
  1377. X#define    MAXPATHLEN    512
  1378. X#endif
  1379. X
  1380. X/*
  1381. X * Select uses bit masks of file descriptors in longs.
  1382. X * These macros manipulate such bit fields (the filesystem macros use chars).
  1383. X * FD_SETSIZE may be defined by the user, but the default here
  1384. X * should be >= NOFILE (param.h).
  1385. X */
  1386. X#ifndef    FD_SETSIZE
  1387. X#define    FD_SETSIZE    256
  1388. X#endif
  1389. X
  1390. X#ifdef    NBBY
  1391. X#define    BITS_PER_BYTE    NBBY
  1392. X#else
  1393. X#define BITS_PER_BYTE    8
  1394. X#endif
  1395. X
  1396. Xtypedef long    fd_mask;
  1397. X#define NFDBITS    (sizeof(fd_mask) * BITS_PER_BYTE)    /* bits per mask */
  1398. X#ifndef howmany
  1399. X#define    howmany(x, y)    (((x)+((y)-1))/(y))
  1400. X#endif
  1401. X
  1402. Xtypedef    struct fd_set {
  1403. X    fd_mask    fds_bits[howmany(FD_SETSIZE, NFDBITS)];
  1404. X} fd_set;
  1405. X
  1406. X#define    FD_SET(n, p)    ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS)))
  1407. X#define    FD_CLR(n, p)    ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS)))
  1408. X#define    FD_ISSET(n, p)    ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS)))
  1409. X#define FD_ZERO(p)    bzero((char *)(p), sizeof(*(p)))
  1410. X#define    FD_OP(to, f1, f2, op) { \
  1411. X    register int FDOP_i; \
  1412. X    for(FDOP_i = 0; FDOP_i < howmany(FD_SETSIZE, NFDBITS); FDOP_i++) \
  1413. X        (to)->fds_bits[FDOP_i] = (f1)->fds_bits[FDOP_i] \
  1414. X                    op (f2)->fds_bits[FDOP_i]; \
  1415. X}
  1416. X
  1417. X#endif types_h
  1418. END_OF_FILE
  1419. if test 1963 -ne `wc -c <'CHANGES/sys/types.h'`; then
  1420.     echo shar: \"'CHANGES/sys/types.h'\" unpacked with wrong size!
  1421. fi
  1422. # end of 'CHANGES/sys/types.h'
  1423. fi
  1424. if test -f 'MANIFEST' -a "${1}" != "-c" ; then 
  1425.   echo shar: Will not clobber existing file \"'MANIFEST'\"
  1426. else
  1427. echo shar: Extracting \"'MANIFEST'\" \(809 characters\)
  1428. sed "s/^X//" >'MANIFEST' <<'END_OF_FILE'
  1429. X   File Name        Archive #    Description
  1430. X-----------------------------------------------------------
  1431. X ADDS                       1    
  1432. X ADDS/limits.h              1    
  1433. X ADDS/netdb.h               1    
  1434. X ADDS/netinet/in.h          1    
  1435. X ADDS/stdlib.h              1    
  1436. X ADDS/strings.h             1    
  1437. X ADDS/sys                   1    
  1438. X ADDS/sys/resource.h        1    
  1439. X ADDS/sys/syslog.h          1    
  1440. X ADDS/sys/time.h            1    
  1441. X ADDS/sys/uio.h             1    
  1442. X ADDS/sysexits.h            1    
  1443. X ADDS/syslog.h              1    
  1444. X CHANGES                    1    
  1445. X CHANGES/grp.h              1    
  1446. X CHANGES/pwd.h              1    
  1447. X CHANGES/stdio.h            1    
  1448. X CHANGES/sys                1    
  1449. X CHANGES/sys/proc.h         1    
  1450. X CHANGES/sys/signal.h       1    
  1451. X CHANGES/sys/types.h        1    
  1452. X MANIFEST                   1    
  1453. X README                     1    
  1454. END_OF_FILE
  1455. if test 809 -ne `wc -c <'MANIFEST'`; then
  1456.     echo shar: \"'MANIFEST'\" unpacked with wrong size!
  1457. fi
  1458. # end of 'MANIFEST'
  1459. fi
  1460. if test -f 'README' -a "${1}" != "-c" ; then 
  1461.   echo shar: Will not clobber existing file \"'README'\"
  1462. else
  1463. echo shar: Extracting \"'README'\" \(2389 characters\)
  1464. sed "s/^X//" >'README' <<'END_OF_FILE'
  1465. XThe include files included in this archive are those include files which
  1466. Xhave either been changed or added on my system since the initial installation
  1467. Xof the development set.  Not included in this posting are those include
  1468. Xfiles which I already posted: statfs.h, uipc/*, and gcc-include/*.
  1469. X
  1470. XNo installation script or makefile is provided.  Examine each file in this
  1471. Xset and determine if you want it installed on your system.  The following
  1472. Xis a brief description of each file included.
  1473. X
  1474. XCHANGES/grp.h
  1475. X Added definitions for the various group related procedures.
  1476. X
  1477. XCHANGES/pwd.h
  1478. X Added definitions for the various routines used to access the passwd file.
  1479. X
  1480. XCHANGES/stdio.h
  1481. X Added conditionally included (-DLIB_IEXEC) defines for easy access to the
  1482. X iexec library.  This is really handy if you are compiling one of the
  1483. X shells that are available in source form because it allows you to make
  1484. X use of the "#!" stuff on the first line of a shell script.
  1485. X
  1486. XCHANGES/sys/proc.h
  1487. X Fixed up a couple of comments that gcc didn't like.
  1488. X
  1489. XCHANGES/sys/signal.h
  1490. X Added two new signals for the UIPC package.
  1491. X
  1492. XCHANGES/sys/types.h
  1493. X Added some typedef statements and some #define statements for BSD
  1494. X compatability.
  1495. X
  1496. XADDS/limits.h
  1497. X ANSI limits.h
  1498. X
  1499. XADDS/netdb.h
  1500. X BSD networking 
  1501. X
  1502. XADDS/netinet/in.h
  1503. X BSD networking
  1504. X
  1505. XADDS/stdlib.h
  1506. X A one-liner that includes stdlib.h from the gcc-include directory.
  1507. X
  1508. XADDS/strings.h
  1509. X Many BSD programs include strings.h so I created this file that includes
  1510. X string.h and then sets up some #defines for index/rindex/bcopy...
  1511. X
  1512. XADDS/sys/cdefs.h
  1513. X BSD - included by many of the newer BSD include files.  Provides compile
  1514. X time support for ANSI vs K&R compilers.
  1515. X
  1516. XADDS/sys/resource.h
  1517. X BSD - not really applicable for the 3b1 but included here because many BSD
  1518. X programs include this file and it makes for easier porting.
  1519. X
  1520. XADDS/sys/syslog.h
  1521. X Used if you have a port of the syslog facility.  A system V version was posted
  1522. X to one of the sources groups and I have one available as well.  I will consider
  1523. X posting mine sometime this fall.
  1524. X
  1525. XADDS/sys/time.h
  1526. X Defines the struct timeval used by the select() routine.  Useful only if you
  1527. X have the UIPC code installed.
  1528. X
  1529. XADDS/sys/uio.h
  1530. X BSD - defines the "uio" structure.  Required to compile the writev() routine
  1531. X from the recently posted libbsd package.
  1532. X
  1533. XADDS/sysexits.h
  1534. X BSD - primarily used by sendmail but useful for any mail processing program.
  1535. END_OF_FILE
  1536. if test 2389 -ne `wc -c <'README'`; then
  1537.     echo shar: \"'README'\" unpacked with wrong size!
  1538. fi
  1539. # end of 'README'
  1540. fi
  1541. echo shar: End of archive 1 \(of 1\).
  1542. cp /dev/null ark1isdone
  1543. MISSING=""
  1544. for I in 1 ; do
  1545.     if test ! -f ark${I}isdone ; then
  1546.     MISSING="${MISSING} ${I}"
  1547.     fi
  1548. done
  1549. if test "${MISSING}" = "" ; then
  1550.     echo You have the archive.
  1551.     rm -f ark[1-9]isdone
  1552. else
  1553.     echo You still need to unpack the following archives:
  1554.     echo "        " ${MISSING}
  1555. fi
  1556. ##  End of shell archive.
  1557. exit 0
  1558. -- 
  1559. David H. Brierley
  1560. Home: dave@galaxia.network23.com; Work: dhb@quahog.ssd.ray.com
  1561. Send comp.sources.3b1 submissions to comp-sources-3b1@galaxia.network23.com
  1562. %% Can I be excused, my brain is full. **
  1563.