Commit Graph

276 Commits

Author SHA1 Message Date
jtc 1d7a3830f2 Definition equating NSIG to _NSIG has been moved to <sys/signal.h> 1995-05-28 03:10:06 +00:00
jtc 84b76af555 Use _NSIG instead of NSIG or constant 32.
Define NSIG equal to _NSIG if !ANSI && !POSIX.
1995-05-28 02:53:56 +00:00
jtc 33b1cf8691 Winning Strategies has placed this code into the Public Domain. 1995-04-29 06:49:13 +00:00
cgd 62ee060840 provide group_from_gid() proto if not _POSIX_SOURCE and not _XOPEN_SOURCE 1995-04-29 05:30:40 +00:00
cgd 8352779370 provide user_from_uid() proto if not _POSIX_SOURCE and not _XOPEN_SOURCE 1995-04-29 05:30:00 +00:00
cgd 2583d406f9 change some of the rpc "on-the-wire" structures' fields to be explicitly-sized
types.  add xdr_{,u_}int{16,32}_t() functions to convert them.
This is necessary, because things like BPF use the RPC headers to look
at the on-the-wire data, so the headers must accurately represent
what's on the wire, too.
1995-04-29 05:26:31 +00:00
jtc 0e5d632b17 Winning Strategies has placed this code into the Public Domainsearch.h 1995-04-28 23:30:54 +00:00
mycroft 1d829dc021 Follow symlinks when copying .h files. From Greg Hudson. 1995-04-16 19:03:55 +00:00
mycroft e957423a98 Move fp_except and fp_rnd definitions to machine/include. 1995-04-09 21:31:58 +00:00
mycroft 4da3c343e1 Correct fp_rnd for i386. Add FP_X_* for m68k. 1995-04-09 21:30:52 +00:00
jtc a9ae458fc3 New header file <ieeefp.h>, which provides a API for getting and setting
IEEE rounding mode, exception enable flags, and exception sticky flags.
1995-04-07 00:59:09 +00:00
jtc 362f2aad7d KERNEL -> _KERNEL 1995-03-26 20:13:37 +00:00
jtc 2ef4abe78f change second arg of fgets() from size_t to int 1995-03-25 02:50:04 +00:00
jtc 4255068068 Removed const qualifier from ftell's FILE * argument. It's not ANSI,
and the recent change to flush output causes it to be changed.
1995-03-22 18:17:24 +00:00
jtc 745bba819b added prototype for qabs() 1995-03-22 01:08:31 +00:00
jtc f442fd56dc Moved conditional #include of <sys/types.h> to near the top of file.
Defined qdiv_t typedef.
Declared qdiv function.
1995-03-21 23:08:14 +00:00
mycroft 00d5ad1f8a Make definitions of psignal() and sys_siglist match signal.h. 1995-03-19 22:51:38 +00:00
cgd 0dcf70c8c5 oops; 'pid' is supposed to be signed (?) 1995-03-04 07:59:30 +00:00
cgd c8518f4150 ship fixed-size quantities over the wire 1995-03-04 07:16:29 +00:00
jtc 3f10e2da9c catclose returns int 1995-03-01 08:00:12 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
jtc f8627033fb For Normative Addendum 1.
We have this cr*p because no one would sa "no" to the danes.
1995-02-17 09:08:08 +00:00
jtc 0df68268e3 fix tipo 1995-01-15 21:58:40 +00:00
jtc a37f3d9ae8 Use and . 1995-01-12 19:18:41 +00:00
jtc 37133e9408 Don't include <sys/types.h> if _ANSI_SOURCE is defined. 1995-01-10 01:33:23 +00:00
pk 04bdb8c3d6 Unhide `svc_maxfd'. Why do we bother with `#if FD_SETSIZE' anyway? 1995-01-06 09:55:52 +00:00
jtc ff34f690cc We removed the sigaddset(), sigdelset(), and sigismember() macros, although
they were POSIX.1 compliant, because users have misinterpreted the spec and
have written programs that depend on -1 being returned when a signal number
is out of range.  This made initialization of signal masks significantly
more expensive.

This change uses GCC's inline function extension to provide macro-like
signal mask manipulation functions.  Since most of the time constants
like SIGINT is used, gcc is able to remove unused range checking code.
Gcc is also smart enough to coalesce adjacent sigemptyset(), sigaddset(),
sigdelset(), and sigfullset() calls into a single assignment.
1995-01-05 06:01:18 +00:00
mycroft 5cd1a683da Add svc_maxfd. 1995-01-04 02:57:47 +00:00
mycroft 6e6e7be7b8 Add prototypes for undelete(2). 1994-12-28 04:40:28 +00:00
mycroft 1fc62d2108 Sync with CSRG. 1994-12-28 02:43:00 +00:00
mycroft 04ffeab75a Sync with CSRG. 1994-12-28 01:41:50 +00:00
pk da34da6096 Put a reserved field into use (weak symbol support). 1994-12-23 20:16:59 +00:00
cgd 2ba9a0c114 proto for iruserok. 1994-12-23 15:04:05 +00:00
cgd f12a39e90b oops; one too many __const's 1994-12-23 13:02:09 +00:00
cgd 9e3970d80f make the char *'s that some of these routines take/return __const.
It quiets some warnings, and is the 'right thing' anyway.
1994-12-20 16:18:16 +00:00
cgd f995c570c9 *jmp_buf -> arrays of longs, and make the definition of _JBLEN mach. dep.
header-dependent.
1994-12-20 10:35:44 +00:00
jtc 096d03c8ef fix typo 1994-12-17 04:19:06 +00:00
jtc 8f4aafd39a add prototype for realpath() 1994-12-16 06:22:56 +00:00
jtc d781cfcf1d Kill warnings about sigsetjmp() and siglongjmp() being missing. 1994-12-10 11:42:26 +00:00
cgd 90cd4c0366 from Christos: kill nested comments, add a declaration. 1994-12-04 01:15:30 +00:00
cgd 2e2a3a256a be much more careful with types, and add prototype everything. 1994-12-04 01:12:39 +00:00
christos d89a725614 Add netgroup.h 1994-12-03 00:00:57 +00:00
cgd 4d2cbfce0a new RCS ID format. 1994-10-26 00:55:40 +00:00
pk 40401eba78 Define more symbol types which are in common use now. 1994-10-19 20:29:41 +00:00
cgd e701a1976c res_search() takes a const char * as the first arg. 1994-10-19 03:46:42 +00:00
cgd 359f94db65 be more careful with types. 1994-10-19 03:45:40 +00:00
cgd 0b201aeb5b better attributes. 1994-10-19 03:44:57 +00:00
cgd 86569ff22b be more careful with types 1994-10-19 03:43:38 +00:00
deraadt 2343dc8f90 u_int_{16,32}_t stuff 1994-10-15 07:56:51 +00:00
mycroft cb9a3933e4 Clean up deleted files. 1994-10-15 04:57:12 +00:00