Commit Graph

1087 Commits

Author SHA1 Message Date
wiz
1d92e86fd4 Remove Xrefs to ourselves in SEE ALSO. 2002-07-10 23:31:32 +00:00
wiz
d3bfd7c06d Drop trailing space. 2002-07-10 23:31:07 +00:00
wiz
95238a678f Sort SEE ALSO. 2002-07-10 23:30:48 +00:00
yamt
673cbedc13 import CAVEATS sections from OpenBSD.
with little tweak by me.
2002-07-10 14:37:12 +00:00
yamt
cd7f302646 s/resolved_name/resolvedname/g
s/resolved_path/resolvedname/g
2002-07-06 02:46:41 +00:00
pooka
ff89c16683 adapt for vis()/svis() check separation 2002-07-03 17:18:09 +00:00
pooka
2fcb6fa0a5 add check for HAVE_USER_FROM_UID 2002-07-03 17:17:35 +00:00
itojun
024d45a179 use sysctl(kern.urandom) if /dev/urandom is not present (like chroot jail) 2002-07-02 17:10:19 +00:00
bjh21
c1ba727b47 Version times() so that programs compiled before the recent change to make
sysconf(_SC_CLK_TCK) return hz will work.

In detail:
__times13() returns values scaled by hz.
times() returns values scaled by 100.
<sys/times.h> renames times() to __times13().

_SC_CLK_TCK has changed from 3 to 39.
sysconf(3) returns 100.
sysconf(39) returns hz.
CLK_TCK is defined as sysconf(39).
2002-06-30 09:45:39 +00:00
jdolecek
958680bc70 Deal with .Fn macro problem with function returning pointer to function;
sidestep it using troff macro trick from FreeBSD version of this manpage.
xref psignal(3) and strsignal(3)

This fixes lib/12260 by Ada Lim and lib/17406 by Greg A. Woods.
2002-06-28 21:55:08 +00:00
perry
307f36e80c Note that times now uses sysconf(_SC_CLK_TCK) ticks, not CLK_TCK
ticks. Although the two are the same, SuS now says you use the former,
not the latter, to get the information. Also, fill in a little
information on just how awful this crusty wreck is.
2002-06-23 21:32:01 +00:00
perry
25992495dc Since CLK_TCK is now a macro expanding into a function call, cache its
output instead of using it willy nilly.
2002-06-23 20:21:08 +00:00
perry
ea360bda1a make sysconf(_SC_CLK_TCK) return the kernel hz value, instead of a
fixed constant, as is done on Solaris, Linux, etc.

Technically, standards don't *require* this, but having it return a
constant is a violation of the spirit, and screws up programs that
(perhaps improperly) assume that it will return kernel hz.
2002-06-23 19:19:01 +00:00
itojun
2153f7059e discard first 256 words when we stir. 2002-06-14 03:11:24 +00:00
itojun
130b111dfb net.inet.ip.redirtimeout default value changed 2002-06-13 16:33:26 +00:00
kleink
da5a8ed73c Take into consideration that setpriority() silently fits the given
priority into its interval, so we really need to use getpriority() to
retrieve the correct return value; noted by Matthias Drochner.
2002-06-10 18:32:01 +00:00
fredette
02ac1ae2f0 Added hppa support (some of it incomplete) to lib/csu, lib/libc,
and lib/libkvm.
2002-06-06 20:31:19 +00:00
fvdl
f634f37b8d Use NLIST_ELF64 for x86_64. 2002-06-05 20:04:22 +00:00
kleink
7965e254cb As documented, return the new priority if successful; from Matthias
Drochner in PR lib/17156.
2002-06-04 10:58:12 +00:00
itojun
76ed88e323 add LIBRARY section 2002-05-28 11:38:29 +00:00
itojun
256a128339 document net.inet6.ip6.maxfrags 2002-05-28 03:17:26 +00:00
wiz
077b67effa __STDC__ is always defined on NetBSD. 2002-05-26 14:03:19 +00:00
itojun
a7ceb02faf refer rnd(4), not random(4). 2002-05-24 14:37:19 +00:00
wiz
8b7401f11e Quote <> for HTML output. 2002-05-24 09:45:00 +00:00
itojun
19414d4312 use /dev/urandom, not /dev/arandom 2002-05-24 04:54:14 +00:00
itojun
418cd7b465 /dev/arandom does not exist in netbsd. use /dev/urandom. 2002-05-24 04:53:07 +00:00
itojun
e68f73c3fe add arc4random(3). from openbsd 2002-05-24 04:01:43 +00:00
itojun
9244bd8154 document net.key.* sysctl. provide sysctl MIB for controlling
proposal payload on ACQUIRE message.  sync w/kame
2002-05-19 08:12:55 +00:00
itojun
b5f1426ee0 rename: net.inet6.ip6.bindv6only -> net.inet6.ip6.v6only
sync w/kame.
2002-05-14 10:27:28 +00:00
itojun
92783e8fb8 s/IPV6_BINDV6ONLY/IPV6_V6ONLY/ 2002-05-14 10:25:34 +00:00
wiz
05ffd2143d Add return type. From KAWAKUBO Hiroshi in lib/16776. 2002-05-12 15:51:29 +00:00
simonb
eb0846961e Remove <sys/types.h> from synopsis, as per latest SUS/Posix specs. 2002-04-29 01:41:43 +00:00
bjh21
43102f34cc When testing __STDC__, consistently use #ifdef rather than #if. The Sun
Workshop 5.0 C compiler defines __STDC__ to 0 unless it's in full-ANSI mode,
and in full ANSI mode it won't give us 64-bit integers (at least on a 32-bit
CPU).
2002-04-22 23:31:44 +00:00
groo
50d2b6a96f botched strncpy -> strlcpy
from xs@kittenz.org
2002-04-16 19:08:43 +00:00
groo
f74c26e49b Detect if line length exceeds buffer capacities.
from xs@kittenz.org
2002-04-16 19:07:57 +00:00
groo
735ccc3fc2 botched strncpy -> strlcpy
from xs@kittenz.org
2002-04-16 19:07:00 +00:00
christos
6d2cc5b8e6 - open for r+, then w+, then r.
- fix fread and fwrite error checking.
2002-04-15 16:47:03 +00:00
christos
6fa9e9789f add two more gnu-like functions. 2002-04-04 19:42:14 +00:00
christos
e20c30d794 - Add VIS_HTTPSTYLE from FreeBSD.
- svis, strsvis, strsvisx were not reversible, because they did not encode
  \\ unless it was passed in the extras array.
- Fix documentation to match the proper signature of the functions.
2002-03-23 17:38:27 +00:00
christos
761aafb737 add signals 33-63, so that stupid loserland programs that access the array
directly don't lose!
2002-03-20 14:28:25 +00:00
christos
9948eb0ac4 add the rt signals so we don't core-dump. 2002-03-20 01:42:03 +00:00
simonb
2ebbd79a63 Include <stdlib.h> for exit() prototype. 2002-03-11 03:29:49 +00:00
christos
3e7f0b7101 add updwtmpx(); requested by tron. 2002-03-05 16:16:02 +00:00
wiz
10d6eb080d Drop duplicate .Pp. 2002-03-05 15:09:26 +00:00
tv
259a2ab95f Add some more bits of host compatibility. 2002-02-26 22:29:38 +00:00
martin
3cb5f61784 Note ip.grettl 2002-02-26 16:07:23 +00:00
christos
002dc4be11 catch up with ut_name->ut_user change 2002-02-25 20:19:26 +00:00
christos
510f6a45d4 A simple utmpx implementation. Nothing uses it yet.
TODO: write the lastlog*() stuff.
2002-02-22 20:11:44 +00:00
wiz
68fdc1adcc Improve RETURN VALUES section by mentioning SIG_ERR, per lib/15686, and fix
some spacing.
2002-02-21 11:09:07 +00:00
wiz
2e104b6b46 Whitespace nit. 2002-02-20 11:57:10 +00:00