Commit Graph

3679 Commits

Author SHA1 Message Date
christos 5132700041 make it use posix signal system calls... Cannot play
int mask; sigfoo((sigset_t *) &mask) tricks any more...
1998-09-26 23:44:08 +00:00
matt ca5d93c91e Switch to the same padding ULTRIX and Digital UNIX use. 1998-09-19 21:44:37 +00:00
christos 4efafd6886 Add NOCLDWAIT documentation. 1998-09-18 18:41:23 +00:00
matt 44530d0f1f Don't pad fddi on NetBSD 1998-09-18 16:43:36 +00:00
thorpej 0a25ae0343 Make this build again. 1998-09-17 05:15:11 +00:00
kleink dc895f2e20 Make makewhatis find strtok_r(3). 1998-09-14 21:35:34 +00:00
kleink 25d16c74e0 Install a link for strtok_r(3). 1998-09-14 21:34:43 +00:00
kleink 1ec8fda77e Add a pointer to strtok_r(). 1998-09-14 21:31:31 +00:00
tv ff03cd6580 Document %ll[diouxX] as requested by <bgrayson@ece.utexas.edu> in PR
standards/3527.  Also describe the argument to such a format as "quad_t",
not "quad int".
1998-09-14 21:10:18 +00:00
tv 5426fd2771 __RENAME() the libcompat regexp routines so they will not be used by
programs that want -lcompat but use POSIX regex.  Inspired by
<david@mono.org> in PR bin/1849.
1998-09-14 20:25:02 +00:00
kleink 4048e12f31 Add wrappers around mutex and rwlock run-time initialization. 1998-09-14 11:03:05 +00:00
ross 68c92cf43b Descend into libbz2. 1998-09-14 06:39:53 +00:00
ross 43b9fa8f01 New files specific to the NetBSD libbz2. 1998-09-14 03:18:12 +00:00
ross cede6f3c99 More rcs id keywords. 1998-09-14 03:13:53 +00:00
ross ec61451f99 Adding NetBSD rcs id keywords. 1998-09-14 03:08:17 +00:00
ross 6610fc2af7 Initial import of bzip2-0.9.0b from Julian Seward. 1998-09-14 03:01:19 +00:00
thorpej 3d3a3c610c Back out previous change; it was incorrect. 1998-09-14 00:57:51 +00:00
eeh 83116b3d6b Libc fixes, mostly to work around the new signal stuff. 1998-09-13 23:54:44 +00:00
kleink 38876f6260 Protect local time state and GMT data initialization with a readers/writer lock
and a mutex, respectively.
1998-09-13 16:26:14 +00:00
kleink 0263cca7db Use localtime_r() rather than localtime(); removes a potential source of
surprise for the application.
1998-09-13 16:09:06 +00:00
kleink 19800c4d6f Use gmtime_r() rather than gmtime(); removes a potential source of surprise for
the application.
1998-09-13 16:05:34 +00:00
mrg c0ea06b21f remove MD asm as(1) comments from sysident.h, placing them in a comment
above the asm() block.  now we can share sysident.h across all ports..
change ld.elf_so to be for $MACHINE == sparc64 not sparc (yet!).
1998-09-13 03:50:31 +00:00
eeh c4a1bbfedb This now works, although it does violate the ELF spec. 1998-09-13 01:50:17 +00:00
eeh 07c6aca8ad Bring in definition for stack BIAS. 1998-09-12 16:54:14 +00:00
eeh 7a9702fb39 Fixup startup code. 1998-09-12 16:53:11 +00:00
kleink 4bbb5fd353 Add a multiple-reader/single-writer lock to protect environ. 1998-09-11 21:03:18 +00:00
kleink 1fd2228f99 Restore `elsieid' accidently clobbered during merge. 1998-09-11 11:35:21 +00:00
kleink 645061225a Replace `unix' in two feature tests (slid through my test machine's compiler
update window).
1998-09-11 10:55:55 +00:00
eeh cf009bcc7a Add sparc64-specific libc. 1998-09-11 04:56:19 +00:00
eeh 07e25081fe Add sparc64-specific stuff. 1998-09-11 03:36:23 +00:00
kleink 51cfb31a1f Bump minor version number (asctime_r(), ctime_r(), gmtime_r(), localtime_r()). 1998-09-10 18:41:17 +00:00
kleink a0006ac87d Add asctime_r(), ctime_r(), gmtime_r() and localtime_r(). 1998-09-10 16:02:59 +00:00
kleink 91e1adbe6e Merge tzcode1998f. 1998-09-10 15:58:38 +00:00
mouse b95116821c Create tcp.keepidle, tcp.keepintvl, tcp.keepcnt, tcp.slowhz sysctls. 1998-09-10 10:46:03 +00:00
kleink 1d1861e253 Make the fseek() return value description match XSH5 (again). 1998-09-09 20:17:27 +00:00
kleink 36bf9c3062 Typo; from Michael Richardson <mcr@sandelman.ottawa.on.ca> in PR misc/6053. 1998-09-09 19:51:39 +00:00
kleink c9f14e5e97 Addendum to previous commit: remove stdio usage from sections during which
random_mutex is locked, because
* a cancellation point may occur during fprintf(), and no cancellation handler
  had been installed, and
* the XSH5 specifcation of these functions does not permit output to stderr.
Therefore, in initstate() and setstate(), return a null pointer if the supplied
state is not valid.  This also fixes a bug in setstate() which caused corrupt
state information being used despite printing an error message.
1998-09-09 19:34:00 +00:00
kleink 7c5f290f7e Add a mutex to protect the state. 1998-09-09 12:27:32 +00:00
kleink 127dfcd147 Since perror() must be reentrant, change the storage class of the buffer used
to hold the error message from static to automatic.
1998-09-09 12:15:55 +00:00
kleink 0cca1fcb27 Perform stdio stream locking as appropriate. 1998-09-09 12:08:05 +00:00
kleink 0e8ab3112e Fix the approximation of log10(2.0) used in INT_STRLEN_MAXIMUM; this resulted
in a fair amount of space wasted in the static result buffer used in
asctime().  Noticed by Randy Thelen <rthelen@netapp.com> on tz@elsie.
1998-09-09 11:32:13 +00:00
thorpej f45860f9b4 Adjust for the reaper process.
XXX Would really like to use proclists[] here, but not right now.
1998-09-09 00:31:25 +00:00
kleink 96deb0c4ec s/c_plusplus/__cplusplus/ 1998-09-08 15:10:12 +00:00
kleink 83d4043d4c s/NULL/NUL/ where appropriate. 1998-09-08 14:13:36 +00:00
kleink 4fe78e340f Explicitly cast -1 to time_t, and some KNF nits. 1998-09-07 15:26:18 +00:00
kleink 100b813fad Deploy stdio stream locking as necessary. 1998-09-07 14:37:13 +00:00
kleink caa80a1e72 Sloppy stdio stream lock tracking. 1998-09-07 14:31:57 +00:00
kleink 18a528c1cf Minor KNF nit. 1998-09-07 14:22:30 +00:00
kleink 16afbbecd6 Cosmetical changes, and squash some lint. 1998-09-07 14:11:37 +00:00
kleink 77c6af31c7 Sloppy stdio stream lock tracking. 1998-09-06 16:37:27 +00:00
lukem 06b0ffe181 distclean is a synonym for cleandir 1998-09-05 14:46:13 +00:00
pk 015fada66a Assign my copyrights to TNF. 1998-09-05 13:20:07 +00:00
christos 016aaad0ba PR/6081: Wolfgang Helbig: search broken in vi mode. When patbuf was changed
to be dynamically allocated, sizeof was not changed appropriately.
1998-09-02 21:33:50 +00:00
perry 315aabd347 make sure asprintf and vasprintf get MLINKS to printf.3 1998-08-30 23:29:18 +00:00
tsarna c89a574ffa Execute ttyaction on termination of rlogind/telnetd sessions.
Also, say a little bit about ttyaction in the getty and login manpages.
1998-08-29 17:31:55 +00:00
mrg 56b9b43fe0 <vm/vm_swap.h> -> <sys/swap.h> 1998-08-29 17:11:09 +00:00
mrg b3159ade4d - update for se_path member.
- while i'm here, document the swap flags, and also add (short) descriptions
  of each of the swapent members.
1998-08-29 15:53:11 +00:00
lukem ce83c69e00 first pass at fixing up capitalization of function names and
arguments; ensure that each is correct with respect to the
implementation, rather than being correct as per english.
1998-08-29 08:32:32 +00:00
perry 9d45b65e88 bump version 1998-08-28 22:26:15 +00:00
perry 05ffc15e02 document asprintf and vasprintf 1998-08-28 22:21:23 +00:00
perry 253ef37df2 add asprintf and vasprintf, originally written by Todd Miller for OpenBSD 1998-08-28 21:33:10 +00:00
perry 98b9f211ee fix bcopy->memcpy with memcpy->memmove -- not strictly needed, but... 1998-08-26 00:38:39 +00:00
perry 69d1215a28 make memcpy into memmove in some cases 1998-08-26 00:29:29 +00:00
ragge 9f749c2036 The Mariah chip lacks the POLYD instruction, so some assembly coded
calculations must be done in C instead. Fast fix until the POLY{D,F,G,H}
insn's are written.
1998-08-22 12:49:08 +00:00
veego 13e0e871f8 Fix new egcs warnings (might be used uninitialized). 1998-08-20 13:36:25 +00:00
ross 0af9b91fb6 Shut up egcs. (`...might be used uninitialized') 1998-08-19 20:58:42 +00:00
thorpej 8d7b6b5dae Add some braces to make egcs happy. 1998-08-19 00:52:18 +00:00
thorpej 08c09aef0c Add some braces to make egcs happy. (This code could kill me.) 1998-08-19 00:45:36 +00:00
thorpej 7ba69add63 Add some braces to make egcs happy. 1998-08-19 00:17:41 +00:00
thorpej fbfd17276b Add some braces to keep egcs happy. 1998-08-18 23:57:02 +00:00
thorpej e79648d085 Add some braces to make egcs happy. 1998-08-18 23:50:08 +00:00
msaitoh 6153074aef clear IMAXBEL bit (fixes PR#2703) 1998-08-18 07:51:45 +00:00
thorpej 360b92c118 vm_size_t -> vaddr_t, thanks Matt Thomas for pointing it out. 1998-08-17 20:11:32 +00:00
mycroft 2142384565 Assign my copyrights to TNF. 1998-08-15 09:36:04 +00:00
mycroft 3748c7c959 Assign my copyrights to TNF. 1998-08-15 09:16:27 +00:00
phil 177c3172ab Add the correct type for the first parameter. 1998-08-14 04:49:18 +00:00
christos a7a81d1b02 Resolve corn-flakes 1998-08-12 14:11:49 +00:00
augustss 7d30602831 Xref midi(4). 1998-08-12 12:23:30 +00:00
perry a843f0f8a5 bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-10 02:43:08 +00:00
perry 3e3611d479 on i386, use FPU instructions in libm if I387_LIBM is set, from dan@geek.com.au 1998-08-09 23:51:33 +00:00
wrstuden b75289e7bc 'c' is only used #ifndef BZERO so wrap its declaration accordingly. 1998-08-09 22:48:11 +00:00
tsubai 7992f14b3a s/asm/__asm/ 1998-08-09 12:43:33 +00:00
kleink ae9f044ef4 Document _PC_SYNC_IO. 1998-08-07 13:28:23 +00:00
mycroft 604e247818 Use the count at the beginning of __CTOR_LIST__. 1998-08-05 23:24:02 +00:00
mark 719323a7d4 Rewritten the entry code. Use r10 to determine is r0 contains a valid
ps_strings pointer. Use assembly to get argc, argv and argp and then
call __start().
1998-08-05 03:59:43 +00:00
kleink 7b07ad780a Per XNS Issue 5, calling recvmsg(2) or sendmsg(2) with an msg.msg_iovlen less
than or equal to 0 shall fail with EMSGSIZE; the latter condition was not being
checked for.  Also, document the msg.msg_iovlen > {IOV_MAX} case.
1998-08-04 19:48:34 +00:00
perry 2ea077b77c switch bzero to version in memset.c.
bzero.c is now a "#define BZERO//#include memset.c" type file.
Remove comment from Makefile about the fact that this is on the todo list.
1998-08-04 06:25:10 +00:00
perry 1801e92fce add strchr.c, strrchr.c, memmove.c, memcpy.c, to KSRC for copy to libkern. 1998-08-04 05:55:56 +00:00
perry 8079ec33a6 Replace complicated and ugly makefile gook to make memmove,memcpy by
-Ding the bcopy.c source (and similarly strchr from index.c, strrchr
from rindex.c) with stub .c files for memmove, memcpy, strchr and
strrchr that simply #define the appropriate thing and #include the
appropriate .c file. Inspired by the way many m-d .S files handle the
same thing. This radically simplifies the Makefile.inc for libc/string
(and libkern).
1998-08-04 04:48:16 +00:00
perry c6300798a1 add memcmp.S 1998-08-04 03:35:32 +00:00
mark ec628f2561 Update for machine/setjmp.h change (JMPBUF* -> _JB*) 1998-08-04 02:03:08 +00:00
perry 2cc5ae3efa add memcmp.S to libkern. 1998-08-04 01:35:57 +00:00
perry 73e9c49b2b add memmove.S to libkern. 1998-08-04 01:24:59 +00:00
kleink c68582d64b UIO_MAXIOV -> IOV_MAX 1998-08-03 15:01:00 +00:00
kleink 22384accd7 Add support for _SC_SYNCHRONIZED_IO and _SC_IOV_MAX. Rearrange documentation
a bit, and actually document _SC_XOPEN_SHM.
1998-08-03 14:41:21 +00:00
kleink 5404ba4886 Add support to query the
* availability of POSIX Synchronized I/O (kern.synchronized_io),
* maximum number of iovec structures to be used in readv(2) etc. (kern.iov_max)
via sysctl().
1998-08-03 14:38:20 +00:00
kleink d8b09acbf7 Per IEEE Std 1003.1b-1993, Synchronous I/O Option, add O_DSYNC (synchronized
I/O data integrity completion) and O_RSYNC (complete read operations at the
same level of integrity requested for write operations).
1998-08-02 18:31:09 +00:00
mycroft 5a33f6d7e8 Fix obvious typo. 1998-08-02 04:52:54 +00:00
jeremy 630bf35030 Removed extraneous DESCRIPTION section header. 1998-08-02 03:20:41 +00:00
thorpej bb218ac267 Protocol Family (PF_*) constants are used to select the domain,
not Address Family (AF_*).
1998-08-01 21:51:06 +00:00