Commit Graph

1103 Commits

Author SHA1 Message Date
jtc
edbbf562ba <sys/termios.h> -> <termios.h> 1995-06-16 07:20:35 +00:00
jtc
bd3ac90048 getsubopt() uses strcmp(), so include <string.h> 1995-06-16 07:15:18 +00:00
jtc
ed7060c4a6 Use standard conditional for rcsid definition. 1995-06-16 07:12:41 +00:00
jtc
915b76dd9f Don't cast void functions to void. 1995-06-16 07:05:27 +00:00
jtc
752ff8fb6c don't include <sys/cdefs.h>, it's a 'private' header 1995-06-15 00:07:11 +00:00
jtc
0b2dbb02ca add explicit return type 1995-06-14 05:19:52 +00:00
jtc
6eaa1d60d8 define __atexit pointer 1995-06-14 05:17:53 +00:00
jtc
bebf039306 add extern qualifier to __atexit pointer declaration 1995-06-14 05:16:04 +00:00
jtc
15206427d4 Add btree(3) cross reference.
Lose self-referential cross reference.
1995-06-13 00:53:40 +00:00
jtc
a646349d2b Open with O_NONBLOCK, in case someone tries to open a blocking device
or a non-open fifo instead of a directory.
1995-06-12 19:38:02 +00:00
cgd
85ab28f7aa eliminate the need for some (fatal) casts. 1995-06-07 13:14:09 +00:00
cgd
da7c7d41dd build tags at library build time, not at install time. 1995-06-07 04:37:54 +00:00
pk
6355031191 Fix typo (Der mouse, PR #1115). 1995-06-05 11:48:26 +00:00
mycroft
5860921eda Fill in sin_len. 1995-06-03 22:37:19 +00:00
mycroft
c7ad9c47f1 Fill in sin_len. 1995-06-03 22:24:45 +00:00
mycroft
ac1e0f5127 Don't set the rgid or egid. Document this behavior. This is compatible with
SunOS and SysV.
1995-06-03 02:27:17 +00:00
mycroft
19755ba159 We must do setgid() explicitly now. 1995-06-02 21:25:09 +00:00
jtc
4cb508307a Don't duplicate the primary group. The first member of the groups list
no longer serves as effective group id.
1995-06-01 22:51:17 +00:00
ragge
1f67145235 Converted K&R -> ansi. 1995-06-01 01:11:41 +00:00
mycroft
800709ce22 Use inet_aton(), not inet_addr(). 1995-05-21 15:50:45 +00:00
mycroft
be21323869 Modify getpwent() to use __ypparse(). 1995-05-17 17:36:43 +00:00
mycroft
5eb65c6b09 Use the new ps_strings format. 1995-05-16 14:23:06 +00:00
jtc
7ca5cd45b0 strtok replaces the separator character, not the token, with a NUL.
(Fix from PR #891.)
1995-05-13 07:41:35 +00:00
jtc
3ba2c075cf #include appropriate header files to bring prototypes into scope 1995-05-13 06:58:18 +00:00
jtc
9ae90685f2 Winning Strategies has placed this code in the public domain. 1995-05-11 23:03:44 +00:00
mycroft
aff3578b36 Explicitly unblock SIGALRM while waiting. 1995-05-03 12:52:43 +00:00
briggs
b1f67e2969 m68k sig{set,long}jmp from Henric Jungheim (uhenric@mcl.ucsb.edu) as
followup to GNATS report port-amiga/1009.
Passes regression tests.
I added a NetBSD string and changed jbra to jra.
1995-05-03 03:43:05 +00:00
phil
e4748bf0ca typo: fld_... -> flt_... 1995-05-03 03:25:11 +00:00
jtc
437b1a3f15 Enable C and Pig Latin message catalogs. 1995-05-02 19:57:15 +00:00
jtc
0e315a5455 C and Pig Latin message catalogs for libc 1995-05-02 19:56:27 +00:00
jtc
615fb07b15 The C Standard says that printf's format string is a multi-byte
character string.  NA1 says that the 99 characters required by the
Standard have representations in the initial state which are one byte
long and do not alter the state.

Thus we can safely break apart the format string with mbtowc() until
we reach a '%' character, and the process format directive characters
one by one.

We really shouldn't be using mbtowc(), rather mbrtowc() (which takes a
mbstate-t argument) but we don't have the NA1 functions implemented
yet.  This is safe, because even when we do we're not likely to
support multi-byte character encodings that use shift states.
1995-05-02 19:52:41 +00:00
mycroft
66f0c16f14 Use POSIX tty semantics. 1995-05-02 01:40:14 +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
cgd
d2e405e546 functions to set FP exception masks & sticky exceptions. they abort, for now. 1995-04-29 05:10:55 +00:00
cgd
3e14f3894b get & set FP rounding direction. these actually seem to work. 1995-04-29 05:09:53 +00:00
cgd
234eecadfb add entries for the float rounding and exception functions 1995-04-29 05:09:14 +00:00
jtc
528957a005 Winning Strategies has placed this code into the Public Domain 1995-04-28 23:19:22 +00:00
jtc
7b4ed4f858 Winning Strategies has placed this code into the Public Domain 1995-04-28 22:59:46 +00:00
jtc
390695fb9c $Id: $ -> $NetBSD: $ 1995-04-28 22:57:54 +00:00
jtc
954b796156 Winning Strategies has placed this code into the Public Domain 1995-04-28 22:53:59 +00:00
jtc
a6fa20ea30 Added __flt_rounds, fp{get,set}round. 1995-04-28 21:57:00 +00:00
christos
c6284ba067 The typo police "dase" != "case" 1995-04-25 21:41:48 +00:00
christos
348d202923 Fix typo... 1995-04-25 21:22:17 +00:00
ragge
ae8e3c9f1a Changed abs.S to abs.c for vax. 1995-04-25 15:36:39 +00:00
jtc
02788519a9 termios code has been moved to new libc/termios directory. 1995-04-25 00:06:17 +00:00
jtc
5f11a56ca9 Initial checkin of termios directory. The code used to be in
gen/termios.c, but has been split out so that NetBSD users don't trip
over the extensions that intrude into the POSIX namespace.
1995-04-25 00:04:21 +00:00
jtc
798d2ef128 Handle new termios subdirectory. 1995-04-25 00:00:58 +00:00
jtc
6d97ed4663 Use a switch instead of three if statements in xdr_long() and xdr_u_long(),
gcc generates slightly better code on all of the architectures I checked.
Also changed xdr_wrapstring to return the return value of xdr_string
directly.
1995-04-24 23:33:39 +00:00
cgd
b523e3778b cast last argument of catgets() to (char *) to quiet compiler's complaints
about loss of 'const'-ness.
1995-04-24 16:37:31 +00:00
cgd
99a919e044 fix typo(?): rpc__errlist usage shouldn't have had two underscores.
Also, cast return types to (char *) to quiet compiler's complaints about
loss of 'const'-ness.
1995-04-24 16:34:39 +00:00