Commit Graph

1441 Commits

Author SHA1 Message Date
glass 2999135c5d link inet.3 for inet_aton() 1994-10-31 06:53:48 +00:00
deraadt ce0ad41a78 man page from Jason Thorpe 1994-10-28 23:03:02 +00:00
mycroft 0aeeefdc23 Fix typo in previous. 1994-10-28 17:59:47 +00:00
mycroft 6f553ba1a3 Properly document what iruserok(3) does. 1994-10-28 17:56:40 +00:00
cgd b7d1866d65 fix bug 535, reported by Brian Moore. 1994-10-28 17:30:22 +00:00
deraadt 17595b3407 man page from Jason Thorpe 1994-10-28 16:46:57 +00:00
mycroft 18ff56020d Avoid extra stat()s if a link count of 1 is returned for directories but the
d_type field is filled in.
1994-10-26 20:25:50 +00:00
mycroft 2db41a19e7 Use trap gate to enter kernel. 1994-10-26 19:49:42 +00:00
cgd 08ef3b378e typo 1994-10-25 03:41:32 +00:00
phil c0356ed2a6 New file from Matthias. 1994-10-21 07:28:44 +00:00
phil db01d4c84a fix code for PIC. 1994-10-21 07:13:21 +00:00
cgd 04a4b7684b make the sysv functions real syscalls. 1994-10-20 04:17:05 +00:00
mycroft e7a6fa4989 Clean up deleted files. 1994-10-20 04:17:01 +00:00
cgd ac8938c341 make the sysv functions real syscalls. 1994-10-20 04:16:58 +00:00
jtc 14c8a82a15 Fix zero padding when using the # format modifier. 1994-10-20 03:56:56 +00:00
cgd bf8067b9da maybe they should actually... WORK! 1994-10-19 03:27:52 +00:00
cgd 9230a088b3 cast 1994-10-19 03:21:41 +00:00
cgd f546ad9c8a casts for happiness. 1994-10-19 03:21:15 +00:00
cgd f5e2eec480 get return type right. 1994-10-19 03:20:30 +00:00
cgd 685a1b9fa2 beware pointer casts. 1994-10-19 03:19:42 +00:00
cgd a1388b1815 be a bit nicer with the return value 1994-10-19 03:19:01 +00:00
cgd 4d09105f58 needs string.h 1994-10-19 03:18:47 +00:00
cgd cab251d528 beware cast & variable types. 1994-10-19 03:14:12 +00:00
cgd 09349637c8 beware cast type. 1994-10-19 03:13:42 +00:00
cgd a71924beb6 needs stdlib.h 1994-10-19 03:13:22 +00:00
cgd fb0e5b3009 pointer type. 1994-10-19 03:13:09 +00:00
cgd 3e853c8028 constants are normally ints, remember! 1994-10-19 03:09:47 +00:00
cgd 517cf49336 case to quiet compiler. 1994-10-19 03:09:00 +00:00
cgd d2b0e8d86d be a bit more careful with types. 1994-10-19 03:07:18 +00:00
cgd ce7850d53d cast type 1994-10-19 03:06:51 +00:00
cgd 5eca8fd521 casting types. 1994-10-19 03:06:34 +00:00
cgd b1f5b80b6a relative path to libkerm 1994-10-19 03:05:22 +00:00
cgd 8c814fd78b fix type of variables, add headers, protos, where necessary. 1994-10-19 03:03:39 +00:00
cgd 73de321a73 needs string.h 1994-10-19 03:01:39 +00:00
cgd adf7c9df14 cast for quiet. 1994-10-19 03:01:18 +00:00
cgd b1faf8936d need string.h 1994-10-19 02:57:11 +00:00
cgd 32e7357c0f either change or update references to sigvec(), as appropriate 1994-10-17 23:49:08 +00:00
deraadt 2343dc8f90 u_int_{16,32}_t stuff 1994-10-15 07:56:51 +00:00
cgd 078237de11 oops; fix that. 1994-10-13 19:55:27 +00:00
cgd 2c979dcde5 check bounds properly. 1994-10-13 19:47:10 +00:00
deraadt 5b951fb823 fix typo 1994-10-12 02:35:26 +00:00
jtc 8f2c7fd229 Don't bother checking if errno is in range --- strerror() already does
that.
1994-10-10 04:56:01 +00:00
jtc d5f2bfb17a Use __sys_siglist[]. 1994-10-10 04:53:01 +00:00
jtc afdcfb9eeb Use __sys_errlist[] & __sys_nerr. 1994-10-10 04:52:13 +00:00
mycroft 54e2c82954 Clean up deleted files. 1994-10-10 04:46:46 +00:00
jtc c50384799a Renamed sys_errlist[] and sys_nerr to __sys_errlist[] and __sys_nerr.
The traditional API of sys_errlist[] and sys_nerr is provided by weak
references if they are supported.  Otherwise, we're forced to have to
have two copies of the error message string table in the library.
Fortunately, unless a program uses both sys_errlist[] and strerror(),
only one of the copies will be linked into the executable.

This is all to provide an clean namespace as required by ANSI.  I've
done the same for sys_siglist[], even though it is not required, to
be consistant.
1994-10-10 04:46:39 +00:00
mycroft e94c4d1ac4 Fix typo. 1994-10-07 11:40:53 +00:00
jtc 76cf6eaace Call internal NLS interfaces: __catopen(), __catgets(), and __catclose(). 1994-10-06 18:17:52 +00:00
jtc d9c2e7b590 Change size of array passed to __strsignal() from 128 to NL_TEXTMAX. 1994-10-06 18:16:18 +00:00
jtc e19f10c79b Change size of array passed to __strerror() from 128 to NL_TEXTMAX. 1994-10-06 18:14:53 +00:00
jtc f5e46c89f4 Call __strsignal() instead of accessing sys_siglist[] directly. 1994-10-06 18:07:45 +00:00
jtc f81cf24ac7 It looks like most people were in favor of enabling NLS in the C library. 1994-10-06 05:47:57 +00:00
jtc 56fa6d53b4 Public versions of catopen(), catgets(), and catclose().
Implemented with weak references if they are supported, otherwise by
function calls that call the private versions.
1994-10-06 05:44:39 +00:00
jtc 072b0afc87 Renamed catopen(), catgets(), and catclose() to __catopen(), __catgets(),
and __catclose().
Made MCGetSet() and MCGetMsg() static.
1994-10-06 05:41:45 +00:00
mycroft 837f99d25c Clean up deleted files. 1994-10-06 04:38:25 +00:00
jtc 57e2aaa1a7 Removed non-standard and undocumented MCAppPath feature 1994-10-05 17:33:50 +00:00
jtc be0eb1df9e fix typo 1994-10-05 17:31:50 +00:00
mycroft 5251d09ee1 Don't even *try* to print out the name of the termcap file; it's hidden
in libtermcap, and it normally uses the DB file anyway.
1994-10-02 04:27:28 +00:00
mycroft 5e53b2b629 Nuke bogus baud rate conversion code. 1994-10-02 04:23:08 +00:00
jtc 68523b5d88 Added code so that POSIX.2 regular expresion functions are used if REGEX
is defined, V8 regular expresion functions are used if REGEXP is defined,
and BSD regular expression functions are used if neither are defined.
And defined REGEX in sys.h so that programs using libedit don't have
to link with libcompat.
1994-10-02 02:10:48 +00:00
jtc c36fd69bc3 The decimal point character is locale specific. 1994-09-30 02:39:13 +00:00
jtc 797d32eb10 New setlocale() that does everything except actually load new locales;
and that's coming in the next week.
1994-09-30 02:20:50 +00:00
jtc 9be3c7f228 Minor tweaks to prepare for checkin of real i18n code. 1994-09-29 04:57:04 +00:00
deraadt d87a87c753 check for ypbind.lock file, which indicates yp is alive. 1994-09-28 01:38:06 +00:00
jtc c446bbd004 Added s_isinff.c 1994-09-25 17:31:51 +00:00
jtc d797a5d5e9 __infinity[] and isinf() for systems whose C libraries don't supply them;
and isinff(), a "float" version of isinf().
1994-09-25 17:29:47 +00:00
jtc 43e6dd4c8e Add prototype for isinff(). 1994-09-25 17:27:56 +00:00
jtc d1f06e0b8f LIBM_SCCS must be defined for the RCS ID to be defined.
This library will soon be used by DJGPP.  And since memory is often tight
on DOS machines, there is little benifit to be had from including RCS IDs.
1994-09-22 16:39:08 +00:00
deraadt 432a32dc33 don't print a "not responding" message for first failure. 1994-09-20 07:20:36 +00:00
mycroft 1ac05a7acc Fix oversight in last change. 1994-09-19 23:46:29 +00:00
mycroft fedcc257c7 Update to 4.4-Lite version. 1994-09-19 07:50:52 +00:00
mycroft 2c009d6038 Remove the #define KERNEL, now that we don't need it. Too bad we need FREAD and
FWRITE at all.  Sigh.
1994-09-19 07:38:27 +00:00
mycroft e9d5734eb6 Move FLOATING_POINT definition into Makefile.inc. 1994-09-19 04:43:02 +00:00
mycroft 485773b00a Fix null pointer dereference, per Rolf Grossman. 1994-09-19 04:32:45 +00:00
mycroft 3270e71a99 Stylistic changes. 1994-09-18 04:32:35 +00:00
mycroft 09aa8eb440 Clean up deleted files. 1994-09-18 03:32:52 +00:00
mycroft 96e437894b Merge the m68k files. The code itself should be merged. 1994-09-18 03:32:50 +00:00
deraadt 9de7a8a1d8 If the binding file doesn't exist, we need to try RPC to ypbind
to wake it up. This probably fixes my problem with amd.
1994-09-18 02:56:00 +00:00
deraadt fdf894abcd should work for sun4 and sun4c 1994-09-18 02:32:50 +00:00
mycroft b707f8aa13 Move the swap page buffer into struct __kvm. Cache the page size during
kvm_open().  Fix an existing memory leak.
1994-09-18 01:52:01 +00:00
deraadt dbccee1a87 Don't use NBPG/PGOFSET/PGSHIFT. Use getpagesize() and calculate them. 1994-09-18 00:22:22 +00:00
mycroft bccad89957 Swap the definition of {lrand,nrand} with {mrand,jrand} to reflect reality. 1994-09-17 01:01:53 +00:00
mycroft 97a272bc2e vmunix --> netbsd 1994-09-17 00:17:12 +00:00
mycroft f41d9ebe51 Use an explicit references to UIO_MAXIOV, rather than a number. ref: PR 433 1994-09-16 03:08:46 +00:00
pk 9c216a1fb2 Cache pagesize. 1994-09-15 10:49:53 +00:00
pk 07dce62879 Use getpagesize() in stead of CLBYTES. 1994-09-15 10:48:51 +00:00
deraadt 2736881bfb Kill the YP code. 1994-09-15 02:11:17 +00:00
jtc b4f978017e Remove CYGNUS_LOCAL comment: I maintain this code for NetBSD, not Cygnus 1994-09-13 00:40:33 +00:00
jtc 0f67980cb1 Don't define sys_siglist, <signal.h> does that already 1994-09-12 18:43:12 +00:00
mycroft 6ba85483c3 Use bfffo rather than a slow loop. 1994-09-09 03:07:23 +00:00
jtc 410ff804f7 Add __BEGIN_DECLS, __END_DECLS around public functions so curses library
can be used by C++ programs (PR #401).
1994-09-07 21:28:05 +00:00
jtc 0d6ff3aeed Increased the size of char buffer used by perror(); the error strings may
be much longer in some locales.
1994-09-03 05:20:00 +00:00
jtc 6d3bf399eb __strerror() and __strsignal() have been broken out into their own files
and use message catalogs if NLS is defined.
Increased the size of char buffers used by strerror() and strsignal();
the error and signal strings may be much longer in some locales.
1994-09-03 05:07:49 +00:00
jtc 5281a6457b Document the fact that NLS (message catalog) support is enabled by adding
-DNLS to CFLAGS.
1994-09-03 04:53:16 +00:00
deraadt 215b5c5487 improper handling of recvfrom error return value 1994-08-30 23:59:43 +00:00
mycroft 0e2293a33e Update to match include files. 1994-08-30 17:39:11 +00:00
cgd b7cc0db103 fix for pr 420, from Christos. 1994-08-30 15:16:44 +00:00
mycroft 9116e142b9 Clean up deleted files. 1994-08-29 04:47:33 +00:00
mycroft 4bdad03539 Fix broken import of Lite directory code. 1994-08-29 04:47:31 +00:00
mycroft a295767a9e Correct first arg in synopsis. 1994-08-29 03:27:36 +00:00
mycroft 21a91228b1 Only extract lx if we need it. 1994-08-26 13:37:40 +00:00
mycroft 67fc54c45a Update based on the 4.4-Lite version. 1994-08-26 12:55:25 +00:00
jtc 9f19de9cde Remove lie (in a comment) about conversion between 80 bit ot 64 bit reals,
since we set up the fpu to do all calculations in 64 bit mode at this time.
1994-08-26 00:20:34 +00:00
deraadt 964007b231 fix my dumb bug 1994-08-23 18:42:10 +00:00
deraadt da072ba3a5 rpc library no longer uses _rpc_dtablesize() internally -- keeps track
of highest active file descriptor. limit fd usage to FD_SETSIZE, until
a better solution is found. remove non-FD_SETSIZE code.
1994-08-20 00:55:26 +00:00
cgd bcf72fa869 frexp.? is machine-dependent, as suggested by phil. 1994-08-19 20:57:43 +00:00
jtc 4b2017adfe Assembly language versions of some of the "float" functions. 1994-08-19 03:56:44 +00:00
jtc 1af6796a8d The fyl2xp1 instruction has a limited range:
-(1 - (sqrt(2) / 2)) <= x <= sqrt(2) - 1
so we can't use it.

Also, I'm not sure fyl2xp1's extra precision will
matter once the result is converted from extended
real (80 bits) back to double real (64 bits).
1994-08-19 03:55:57 +00:00
jtc fad867417f Bump minor number to account for additions of "float" versions of
the math functions.
1994-08-19 00:44:35 +00:00
jtc b0c9d09246 Change int -> int32_t and unsigned int -> u_int32_t to improve portabilty
to machines where int != 32 bits.
1994-08-18 23:04:51 +00:00
jtc c120d36cd8 Major Bogon: change %ebp to %esp, as I don't set up a stack frame. 1994-08-18 20:42:35 +00:00
mycroft 465a1c6bc1 Kill some totally minor ugliness that crept in. 1994-08-18 00:45:07 +00:00
cgd a6d14e368c clean up import 1994-08-18 00:38:04 +00:00
mycroft af5acb8048 Clean up deleted files. 1994-08-17 21:53:35 +00:00
cgd d29088dab1 clean up import 1994-08-17 21:51:41 +00:00
cgd 0c2185c64c new libcurses, from new nvi 1994-08-17 21:14:02 +00:00
mycroft b2ea31e355 Update to match current pmap. 1994-08-15 15:57:36 +00:00
andrew 8eabc08051 Limit the upper bound of the value returned by _rpc_dtablesize() to not
break select(2) calls.
1994-08-15 07:56:50 +00:00
mycroft 6da312060e Fix return value from endwin(). 1994-08-14 14:27:37 +00:00
mycroft 6e04a46b3a Don't return garbage if there are no argument and/or environment strings. 1994-08-13 10:15:02 +00:00
mycroft f8ee12b11b Use writev(2) when reporting errors. 1994-08-13 09:41:50 +00:00
pk 9a16044f94 Allow a `#' to appear on line by itself (without spitting out errors). 1994-08-13 09:03:21 +00:00
jtc 1623a70fdf Updated to reflect the fact that these functions now detect errors
and that only sigemptyset() and sigfillset() have macro implementations.
1994-08-12 05:01:23 +00:00
mycroft 7fa12b9866 Clean up deleted files. 1994-08-10 20:35:54 +00:00
jtc 8346e333d0 Float versions of math functions. From Ian Taylor (ian@cygnus.com), with
minor changes by me.
1994-08-10 20:30:00 +00:00
jtc b3a04d8a54 Fix definition of xdr_u_char() (PR #364) 1994-08-09 00:50:30 +00:00
jtc fac4c46f81 Post 1.0 cleanup:
* Include appropriate header files to bring prototypes into scope.
 * bcopy -> memcpy
 * bzero -> memset
 * bcmp  -> memcmp
 * Tweak yp xdr routines so compiler can do a better job --- saves
   at least 5 instructions per function call on the i386.
1994-08-06 23:07:47 +00:00
jtc 1d1682d63c vmunix -> netbsd (PR #375) 1994-08-06 06:11:03 +00:00
jtc 49493ab741 Fix typo, wdelch() only takes on arg (PR 392) 1994-08-06 05:24:40 +00:00
mycroft af176ad58f Revert this. 1994-08-05 22:35:20 +00:00
chopps 628cf4e2c8 fixed ld.so to properly save all regs when binding PIC functions. We no
longer need the special case (PIC) code to push args when calling cerror.
1994-08-04 05:02:31 +00:00
chopps 03dbf74333 inline call to sigreturn original idea from jason downs <downsj@CSOS.ORST.EDU>
we want this to be done for everything including non-PIC code as longjmp()
does non-standard things with regs and wouldn't like it if the user replaced
the sigreturn() stub.
1994-08-04 05:00:50 +00:00
deraadt 8b4fd14bfb be lenient; let a few other forms of + activate YP 1994-08-02 05:15:25 +00:00
jtc a0752b653c Minor touch ups to match strsignal(3) man page 1994-08-02 05:02:13 +00:00
jtc 18ba4287c5 Add strsignal() function like on Solaris.
We might want to be able to retrieve a locale-specific signal description
(from a message catalog) and we need a function call API for that feature.
1994-08-02 05:01:20 +00:00
phil ffdfc8a9b1 patch from Matthias Pfaller. 1994-08-01 19:37:14 +00:00
mycroft f3a089395b Kill historical cruft. 1994-07-31 19:57:46 +00:00
mycroft f2098184d9 Fix for MAP_FILE changes. 1994-07-31 08:49:56 +00:00
deraadt 02fe919c29 avoid core dump 1994-07-29 18:54:17 +00:00
gwr d416f9adc8 Add sun3 support (only "live" kernels for now). 1994-07-28 21:46:34 +00:00
jtc 699331c73f Add RCS Id's 1994-07-27 14:39:44 +00:00
jtc b0cd982f44 Return NULL and set errno to ENOTDIR if opening a non-directory (POSIX.1,
Section 5.1.2.4).  Rename _seekdir to __seekdir, as former is in the
user's namespace.
1994-07-27 14:37:39 +00:00
jtc ad1d3832de Sync with 4.4 lite 1994-07-27 05:37:08 +00:00
jtc 409e85d379 opendir() & friends from 4.4lite. 1994-07-27 05:26:23 +00:00
jtc e954ff817b opendir() & friends from 4.4lite. 1994-07-27 05:26:13 +00:00
pk 63027d510b `LDSO' is for debugging only. 1994-07-26 19:53:46 +00:00
jtc 2bdfe1ce0c Updgraded to March 3, 1994 version of dtoa.c from netlib with our local
changes.
1994-07-22 05:08:04 +00:00
jtc c7527f8b84 Converted to use link-time warning messages. 1994-07-21 17:13:35 +00:00
mycroft 3d78977935 pipe(2) is no longer implemented using socketpair(2). 1994-07-17 05:14:55 +00:00
jtc bd275e8fe1 Added a nl_langinfo(3) man page. 1994-07-16 05:12:26 +00:00
mycroft a0c1518680 Do something more intelligent when compiling into ${DESTDIR}. Also fix bogus
definition of AINC.
1994-07-06 04:08:28 +00:00
mycroft 1454a5a41f We're supposed to include ${CPPFLAGS} when compiling .c files. 1994-07-06 04:07:53 +00:00
mycroft 5156a7b075 Do something more intelligent when compiling into ${DESTDIR}. 1994-07-06 04:06:27 +00:00
cgd 5058c29029 kill strange inclusion, just do lint and obj targets by hand 1994-07-02 22:32:15 +00:00
cgd c9848e344c install the right things 1994-07-01 06:14:02 +00:00
deraadt b5aa4fdd78 set KMSRCS & friends 1994-06-30 06:46:37 +00:00
deraadt 9f49515fa0 libkern files are in arch/ now 1994-06-30 06:44:54 +00:00
cgd 138fcd8327 deal with new share/doc strategy 1994-06-30 05:33:30 +00:00
jtc b03f43b105 install getnetgrent() manpage 1994-06-28 04:34:24 +00:00
jtc c9f8f01b96 Moved RCS ID into static variable rcsid 1994-06-26 16:27:34 +00:00
jtc 288ce51d32 Ftok() routine, needed by most programs that use SysV IPC. 1994-06-26 16:24:55 +00:00
jtc 619eb60761 Avoid core dump when using NULL message string. 1994-06-26 16:13:06 +00:00
cgd 5b029eb9a8 update for new doc-make/install strategy 1994-06-25 05:57:47 +00:00
cgd 23aca3d339 rcs id's 1994-06-22 00:17:04 +00:00
cgd 7f79e48c1a add Boyer-Moore string search routines, from Bostic. man page
needs to be fixed for mandoc, and RCSID's need to be added.
1994-06-22 00:15:22 +00:00
cgd 00c343f97a Changes by Thorsten Lockert and myself (though my role was only minor)
to document msync's error returns.
1994-06-21 04:49:04 +00:00
cgd 450db3f901 clean up import, rcsid 1994-06-21 04:24:53 +00:00
jtc bafe42ae48 Add nl_langinfo(), a SysV-X/Open function that provides access to some
of the locale info.

Some of the POSIX.2 utilities require this information, and I thought it
was better to use an existing interface rather than rolling my own.
1994-06-21 04:14:00 +00:00
mycroft 3a7aa4b533 Add merge.c and mergesort.3. 1994-06-16 05:27:17 +00:00
mycroft 2f86deea8e Add RCS ids. 1994-06-16 05:26:34 +00:00
mycroft 2c1d50080b Import from 4.4-Lite. 1994-06-16 05:21:06 +00:00
cgd c39e8472fc fix missing trailing newline 1994-06-14 05:25:36 +00:00
mycroft 93f0b31706 Clean up deleted files. 1994-06-14 03:56:04 +00:00
jtc 8c740dbc32 Convert getdtablesize() from syscall to function 1994-06-14 03:54:48 +00:00
cgd 2ddc7beddd amq.x is gone now 1994-06-14 02:45:56 +00:00
mycroft 7e5ecdecea Clean up deleted files. 1994-06-13 19:55:25 +00:00
cgd bce0be4dca these are library routines, not syscalls. per jtc's suggestion. 1994-06-13 18:49:51 +00:00
jtc e12121f0ea Change manpage's struct sigaltstack definition to match the one in
<sys/signal.h>.  Fixes bug 283.
1994-06-13 14:34:24 +00:00
jtc d356abc303 User's should #include <signal.h>, not <sys/signal.h> if they want to
use this function portably.
1994-06-13 14:26:18 +00:00
cgd f25c65f6fb syscall numbers have changed enough to make old version dangerous 1994-06-13 00:30:27 +00:00
cgd 3ffaded87c include changes for new fs code 1994-06-13 00:19:12 +00:00
cgd 809de843f3 oops; forgot man page 1994-06-13 00:13:48 +00:00
mycroft 4849d78f88 Clean up deleted files. 1994-06-12 22:58:06 +00:00
cgd 3943fb37c8 kill async_daemon; it's dead now 1994-06-12 22:58:03 +00:00
cgd 747476fd42 fix up includes for new FS code 1994-06-12 22:52:01 +00:00
cgd 8c483ea902 alphabetize 1994-06-12 22:37:13 +00:00
jtc fe4dd97bd4 Remove unneeded #include <stddef.h> because <string.h> #defines NULL too. 1994-06-11 16:49:13 +00:00
jtc 59ad910d74 Note that confstr() is POSIX.2 compliant. 1994-06-11 16:44:28 +00:00
jtc fbb595cc94 Replace my version of confstr() with 4.4 lite's, which gets its values
with sysctl().
1994-06-11 16:40:46 +00:00
jtc 5e8c28642a from 44lite 1994-06-11 15:28:19 +00:00
phil 535a398e2a _minbrk => minbrk 1994-06-10 22:46:14 +00:00
pk 24c3ce74de Changes in pmap structures. 1994-06-10 14:34:58 +00:00
phil f4bddced4a update mmap call. 1994-06-09 05:50:34 +00:00
pk fc016a129a Fix last bug correctly 1994-06-03 15:02:21 +00:00
phil cfb1bf8cc5 quad -1 return value now done right 1994-06-02 20:39:22 +00:00
pk 1429552f6e Defend against empty names. 1994-06-01 19:54:07 +00:00
pk 816feb25c5 Avoid stomping on static memory by repeatly calling gethostbyname(). 1994-06-01 19:32:43 +00:00
pk 350b02a45f Don't try to lookup an empty hostname; some nameservers return the root servers
for such a query.
1994-06-01 19:23:59 +00:00
deraadt c259dd15ce in a word, whoops 1994-05-31 08:51:15 +00:00
deraadt e16521631c create file with nice mode 1994-05-31 08:50:31 +00:00
chopps 34769dec9b fix incorrect MAN3 line. 1994-05-30 21:34:40 +00:00
jtc 1a5e36018e Added catopen(3) manual page. 1994-05-30 03:40:36 +00:00
jtc 555ef6b0b0 Added catclose(3) and catgets(3) man pages --- still working on catopen(3). 1994-05-30 00:53:56 +00:00
jtc a762bb96d9 XPG3 says that the name argument specifies a complete path for the message
catalog if it contains a '/' (The original code only checked the first char).
1994-05-29 22:14:33 +00:00
jtc 6d847771c5 XPG3 wants .../%L/%N.cat and .../%N/%L in the default NLSPATH. 1994-05-29 22:10:56 +00:00
jtc 5b7e254892 Add message catalog functions. 1994-05-29 22:09:13 +00:00
jtc 6e6a8ec828 Changes needed for NetBSD integration. 1994-05-29 21:24:05 +00:00
jtc 49ce813263 Kee Hinckley's XPG3 compliant message catalog system (extracted from the
elm distribution).
1994-05-29 21:21:59 +00:00
hpeyerl 610896d9a0 (blush). They didn't *ALL* have to be changed. 1994-05-29 00:35:59 +00:00
hpeyerl 1da03a4d37 If we're going to re-activate these guys; we better make sure they
compile.
1994-05-28 23:37:53 +00:00
mycroft 63962a5c5e We have shm again. 1994-05-28 23:16:48 +00:00
jtc 241ecab4d2 Describe POSIX behavior of sleep.
More could be added, especially describing the effects of scheduling and/or
blocking SIGALRM outside of a sleep().  Also, using longjmp() in a signal
handler.  But this will do until someone gets inspired to fill in the
grotty details.
1994-05-28 16:11:27 +00:00
jtc 5ab3d5f30a Changed to be POSIX.1 complian; now sleep can be interrupted, and it returns
the amount of time left "unslept" when it is.
1994-05-28 06:25:04 +00:00
phil 6536072af7 add missing include 1994-05-27 21:56:04 +00:00
deraadt cda7e4788e fix the stupid select bug AGAIN 1994-05-27 18:56:24 +00:00
deraadt 8f00ef1dc7 solve byte order problem 1994-05-26 09:39:08 +00:00
deraadt 1dc628861d fix typo 1994-05-26 00:31:53 +00:00
cgd 9e263d13ee kill typo, pointed out by John Hay <jhay@mikom.csir.co.za> 1994-05-25 20:37:52 +00:00
deraadt 3bf2b62f1f correct copyright 1994-05-25 09:52:05 +00:00
deraadt bfeb532e3d add libskey 1994-05-25 03:24:19 +00:00
mycroft d1584360d9 Clean up deleted files. 1994-05-25 01:49:34 +00:00
jtc 3518e0a880 New localeconv() implementation that constructs it's return value from
the current numeric and current monetary locale data.
1994-05-25 01:49:32 +00:00
jtc 15d0e3dedd Get the day, month, format, etc. strings from the current time locale
structure instead of static data.
1994-05-25 01:20:19 +00:00
jtc 962cf82dd8 Compile the default locale data for LC_NUMERIC, LC_MONETARY, and LC_TIME. 1994-05-25 01:17:14 +00:00
jtc faab9fa25d Fixed major bogon: What happened to Wednesday! 1994-05-25 01:11:45 +00:00
jtc 438e938546 Default Locale Data 1994-05-24 23:40:06 +00:00
deraadt 7433140cea need sys/param.h 1994-05-24 08:17:37 +00:00
glass f518ec51c9 crt0 support for mips..no shared library support 1994-05-24 07:33:47 +00:00
glass ae1bfcddc4 libc support for mips. libkern hooks are disabled 1994-05-24 07:12:09 +00:00
deraadt 8f7e2d213d get rid of some horrible assumptions 1994-05-24 06:25:27 +00:00
mycroft c812277652 Deal with shadow objects correctly. 1994-05-23 22:22:24 +00:00
cgd f0cbe5cc71 ansi type renaming 1994-05-23 01:12:33 +00:00
cgd 1dc033755e clean up import 1994-05-23 00:55:25 +00:00
cgd 26fc33ba8d _VA_LIST_ -> _BSD_VA_LIST_ 1994-05-22 23:14:07 +00:00
jtc 2f567fef23 Only install header files if they are different from the ones that are
allready installed.
1994-05-22 04:20:02 +00:00
chopps 79ae46e57f no more lsearch.3. 1994-05-21 09:17:49 +00:00
deraadt c923f70510 skey, by <tsarna@endicor.com> and me 1994-05-21 05:45:58 +00:00
cgd 395cddf518 make stty and gtty real function stubs (they're now gone from ioctl_compat.h). 1994-05-21 05:20:25 +00:00
phil b1c25077d4 pc532 support in libkvm 1994-05-20 23:31:06 +00:00
mycroft 7006d9d304 Clean up deleted files. 1994-05-20 06:19:50 +00:00
jtc 70b7b8f795 44lite moved cfree() to libcompat 1994-05-20 06:19:47 +00:00
mycroft cf8aad3231 Clean up deleted files. 1994-05-19 06:27:13 +00:00
jtc 44aaa7fd0d cuserid() was moved to libcompat w/4.4 lite. 1994-05-19 06:27:11 +00:00
jtc ac15753796 Remove links to regexp(3) manpage, as they overwrite the links with the
same name to the regex(3) manpage, which is the preferred regular expression
API.
1994-05-19 06:23:50 +00:00
jtc 66a7b96e20 Move our cuserid(3) manpage to libcompat, since the cuserid() function
now lives there.
1994-05-19 06:20:17 +00:00
mycroft 66f3291923 Clean up deleted files. 1994-05-19 06:09:13 +00:00
jtc 69fbb0938f 4.4lite's libcompat provided a lsearch() and lfind() implementation which
has been already integrated into NetBSD, so we don't need/want mine anymore.
1994-05-19 06:09:10 +00:00
jtc 86da5c14f9 The umask effects mknod(2) too. 1994-05-18 14:36:13 +00:00
jtc be373c50a3 Fix required #include files and function prototype. 1994-05-18 14:31:43 +00:00
pk 62b40e28b0 Fix kvm_uvatop(). 1994-05-18 09:31:52 +00:00
cgd 7aa3357e1b udpated rcmd 1994-05-18 06:35:14 +00:00
deraadt 4438ac29e5 sigaltstack 1994-05-17 23:56:24 +00:00
mycroft be4f78724b Add {set,get,end}netgrent(). 1994-05-17 13:32:31 +00:00
mycroft 6bb037ec32 From 4.4-Lite. 1994-05-17 13:30:51 +00:00
mycroft f5392c8ae8 Add realpath(3). 1994-05-17 12:44:06 +00:00
mycroft 1c98b23af1 New from 4.4-Lite. Needed for some 4.4 FS utilities. 1994-05-17 12:42:30 +00:00
cgd 725ed31e82 copyright foo 1994-05-17 04:13:48 +00:00
cgd b55fd24a8e new assert helper 1994-05-17 00:07:23 +00:00
jtc d44d58bfcc Fix typo, from Giles Lean (Fixes bug #248) 1994-05-16 20:15:04 +00:00
chopps 6c2f28403d add support for current m68k based pmaps till they can be "fixed" 1994-05-16 05:31:19 +00:00
mycroft 93ac2f912e Clean up deleted files. 1994-05-14 06:33:26 +00:00
cgd 0c3c9c68ab kill all gprof-related stuff; it's now in libc, and the header is elsewhere 1994-05-14 06:33:22 +00:00
mycroft 91cd8bafa5 Clean up deleted files. 1994-05-14 06:33:20 +00:00
cgd 8cb13545d3 kill all gprof-related stuff; it's now in libc, and the header is elsewhere 1994-05-14 06:33:17 +00:00
mycroft 9177dd175a Clean up deleted files. 1994-05-14 06:33:16 +00:00
cgd bc03451854 kill all gprof-related stuff; it's now in libc, and the header is elsewhere 1994-05-14 06:33:14 +00:00
mycroft 49f9da4a97 Clean up deleted files. 1994-05-14 06:33:11 +00:00
cgd b22a4fbae6 kill all gprof-related stuff; it's now in libc, and the header is elsewhere 1994-05-14 06:33:05 +00:00
cgd 41006bd47b rcsids. also, avoid floating point when picking scale value. doesn't
cost much, only done once.
1994-05-14 06:31:10 +00:00
cgd a3c4771808 add new gmon stuff, rearrange inclusions 1994-05-14 06:25:56 +00:00
cgd da60d30fb3 user-land profiling code. 1994-05-14 06:02:57 +00:00
deraadt 94677efe9e size_t 1994-05-13 22:23:05 +00:00
cgd acdc4b7e70 shm sources won't compile; no more shm.h 1994-05-11 04:45:13 +00:00
chopps a6a8e78548 update to use sigaltstack. 1994-05-10 08:15:57 +00:00
jtc 3cb178ff70 merge in our POSIX.2 changes (again) 1994-05-09 16:28:27 +00:00
cgd a901a9cb96 just punt for now; don't want to deal with this & don't want it to core 1994-05-09 07:01:14 +00:00
mycroft 715255df06 Clean up deleted files. 1994-05-09 04:09:26 +00:00
cgd 54774f9293 m68k-ify the hp300 kvm file; use MACHINE_ARCH to pick files up 1994-05-09 04:09:21 +00:00
cgd b1b6dfafbe the world has changed 1994-05-09 03:18:05 +00:00
cgd 429f62a616 clean up import 1994-05-09 03:17:28 +00:00
cgd 0215cc7d1f new libkvm 1994-05-09 03:15:36 +00:00
cgd e23e45bcfc new nlist routines 1994-05-09 03:14:43 +00:00
cgd 77c263426a oops, forgot to delete 1994-05-08 04:35:22 +00:00
mycroft 0cc9738192 Clean up deleted files. 1994-05-07 04:11:57 +00:00
cgd 8b8a31862e update for present reality. shlib version number bump (last for a bit) 1994-05-07 04:11:08 +00:00
cgd fc7bd30680 new syscalls 1994-05-07 03:27:01 +00:00
cgd 081527a861 hostid functions 1994-05-07 03:24:46 +00:00
cgd 3580a0da69 domainname stuff 1994-05-07 03:09:19 +00:00
cgd eb985c6d35 clean up conflicts 1994-05-07 03:03:09 +00:00
cgd 060d0e3d1a various sysctl-related libc functions 1994-05-07 02:52:59 +00:00
jtc e15ede0fe3 revoke(2) manpage 1994-05-07 00:35:36 +00:00
jtc 4853bb7972 44lite code 1994-05-07 00:26:28 +00:00
cgd cd45651c63 devname() routine 1994-05-06 22:48:31 +00:00
jtc e8ed9b3ab8 merge our changes into 4.4lite 1994-05-06 18:44:23 +00:00
jtc a5284b9db4 merge back in our changes (mostly POSIX.2 pedanticism) 1994-05-06 18:18:33 +00:00
jtc 34ae5e111c sync with 44lite 1994-05-06 18:02:02 +00:00
cgd dd267b8c9d patch up 1994-05-06 06:49:32 +00:00
cgd a34c9134ca oops! 1994-05-06 06:42:21 +00:00
cgd 74c187c292 update 1994-05-06 06:25:33 +00:00
cgd e3a4ae7264 Initial revision 1994-05-06 06:25:32 +00:00