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
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
perry
315aabd347
make sure asprintf and vasprintf get MLINKS to printf.3
1998-08-30 23:29:18 +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
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
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
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
perry
a843f0f8a5
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-10 02:43:08 +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
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