Commit Graph

1119 Commits

Author SHA1 Message Date
wiz ead46331d9 \-1 and .Dv NULL. 2002-10-01 16:59:46 +00:00
wiz b214676aec New sentence, new line. From Robert Elz. 2002-10-01 16:48:34 +00:00
wiz ef7dc6cc33 New sentence, new line; -1 -> \-1; simplify mdoc in one place. 2002-10-01 16:07:01 +00:00
christos fb0b215b6c fix typo 2002-09-28 01:43:24 +00:00
christos c73d854002 check for write and close errors, from wiz 2002-09-28 01:34:36 +00:00
drochner 20d06f6b17 SI prefixes apply to decimal multiplies only. For binary (2^n) multiplies
the most "officially looking" is IEC 60027-2, ie "Ki", "Mi", ...,
which is not too popular, and which would require more code changes.
So stick with the traditional capital "K" for (divisor==1024), and use
the SI "k" otherwise (ie (divisor==1000)).
2002-09-27 18:37:43 +00:00
wiz 4a47c952db Add documentation for utmpx and some related functions.
Thanks for some explanations to christos, and for some STANDARDS hints
to Klaus Klein.
2002-09-27 15:02:24 +00:00
wiz 8e14b98adf Move comment that says 'the following are extensions' to the right place.
Approved by christos.
2002-09-26 17:08:42 +00:00
wiz 079c182094 Kilo abbreviation is a small k (PR 18408). 2002-09-26 15:06:47 +00:00
briggs a94d82e6f9 Always use NetBSD's fts(3) in compat builds. Some systems (notably
Red Hat 7.3, at least) do not have fts(3) implementations that work
correctly with -D_FILE_OFFSET_BITS=64.
2002-09-16 04:10:36 +00:00
wiz aae8095f40 completion, not completition; mark up errno; use \- instead of -. 2002-09-04 01:03:58 +00:00
wiz c4beccd3bf completion, not completition; use \- instead of -. 2002-09-04 01:03:24 +00:00
abs a086fb2909 Move humanize_number(3) from libutil to libc as per discussion on tech-misc
Revert minor number bump on libutil (with note to skip it next update), and
bump libc.
2002-08-22 17:24:08 +00:00
wiz 158398c921 Fix Ns abuse. 2002-08-20 15:32:12 +00:00
wiz 75c7529338 Update Dd for recent changes. 2002-08-10 09:17:49 +00:00
wiz 6fb8244813 Fix formatting glitch, end sentence with a dot, and use Nm instead of
a self-Xr. Update Dd for recent changes.
2002-08-10 09:14:59 +00:00
wiz 1598a31de5 Update Dd for recent changes. 2002-08-10 09:13:47 +00:00
yamt 3bb8b93140 more about sigsetjmp/siglongjmp.
from openbsd.
2002-08-10 05:05:24 +00:00
yamt de3baf756c note about "too many groups" case.
from openbsd.
2002-08-10 04:50:39 +00:00
yamt 9ec2d4f3ab default path doesn't contain current directory anymore.
from openbsd.
2002-08-10 03:08:15 +00:00
yamt a5c077a75d reflect change of default path.
from openbsd.
2002-08-10 03:06:15 +00:00
yamt cd9128e6e2 - move a example into EXAMPLES section.
- check a return value of opendir.
from openbsd.
2002-08-10 02:55:20 +00:00
tron 2f9d1834f5 Include "sys/param.h" and use "MATHPATHLEN" instead of "_POSIX_PATH_MAX"
to fix build problem.
2002-08-04 11:55:51 +00:00
nathanw b18986f532 #include <string.h> for prototypes of strlen and strcpy. 2002-08-01 23:46:37 +00:00
christos f04f8bc949 add utmpname() 2002-07-28 21:45:39 +00:00
christos f084e3ca9b make this behave like utmp, ie. return all entries and setutent() rewinds. 2002-07-28 20:46:43 +00:00
christos a2e4cf52ec use the fname we passed in. 2002-07-28 00:45:11 +00:00
christos 7908c76c97 Add utmp processing functions 2002-07-27 23:57:39 +00:00
christos fef92308ac add lastlogx implementation. 2002-07-27 19:38:29 +00:00
christos d1ccf94413 reset fp when we are done with it. 2002-07-27 15:44:45 +00:00
simonb e438da348e Sprinkle some KNF. 2002-07-23 00:03:36 +00:00
scw 4c8e482124 Add SH5 support. (Missed these during the last sweep of my local tree) 2002-07-11 21:46:21 +00:00
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