Robert Nordier
18e08df153
Treat an attempt to read from a write-only stream more consistently.
...
Submitted by: Anton Berezin <tobez@plab.ku.dk>
PR : 12852
1999-08-10 21:36:51 +00:00
Warner Losh
d64292d252
Use the latest version of these files from OpenBSD.
...
1) Safty change from casper dik was added to OpenBSD's sources since I
grabbed them. milltert@openbsd.org
2) Split up strlcpy to improve efficiency of the common case.
milltert@openbsd.org
3) Cleanup of cross references for man page. {alex,aaron}@openbsd.org
Pointed out by: deraadt@openbsd.org
1999-08-10 05:58:58 +00:00
Warner Losh
a41df9e30e
Import strl{cat,cpy} from OpenBSD.
...
Obtained from: OpenBSD
1999-08-10 05:21:31 +00:00
Bruce Evans
749a33625d
Fixed missing "G" in the list item for the main description of %g and
...
%G formats.
1999-08-08 11:00:01 +00:00
Tim Vanderhoek
cc5aedfb1a
Mention that EXIT_SUCCESS and EXIT_FAILURE are preferred over
...
sysexits.h-values as exit codes for portable programs.
1999-08-01 20:46:45 +00:00
Bruce Evans
176ef327fa
Fixed $Id$.
...
Removed POSIX.1/NetBSD markup (braces) for NAME_MAX, etc. We don't
define this. Most FreeBSD man pages hard-code the limits; in fact,
utimes.2 recently became the only file in libc/sys/*.2 that mentions
NAME_MAX. There probably should be mandoc macros for this.
1999-07-31 22:29:17 +00:00
Bruce Evans
fbcc97c9d2
Removed a duplicate reference to System V.4.
1999-07-31 22:14:46 +00:00
Bruce Evans
1c8deedd38
Fixed syntax error in previous commit.
1999-07-31 22:10:17 +00:00
Bruce Evans
d3ac30dd5e
FIxed disordering in previous commit. Fixed some old disorder.
1999-07-31 22:00:09 +00:00
Nik Clayton
83f7951bfc
Document that writev(2) can fail with ENOBUFS.
...
Text is a compromise based on messages from Wes Peters, Ville-Pertti
Keinonen, and Matt Dillon.
PR: docs/10512
Submitted by: Howard Goldstein <hgoldst@mpcs.com>
1999-07-30 21:20:09 +00:00
Mike Pritchard
6a8edfca23
Use the .At macro when referencing versions of AT&T UNIX.
...
Note: you need to install the current groff tmac macros for these
man pages to format correctly. Specifically, rev 1.21 of
contrib_groff/tmac/doc-syms in -current, or rev 1.17.24 for 3.2-stable
1999-07-30 12:45:20 +00:00
Mike Pritchard
afb7dc43a9
Document the getdents(2) system call. The documentation was
...
added to the getdirentries(2) man page because 95%+ of that
man page comprised the text of the getdents(2) man page
I obtained from NetBSD.
1999-07-30 11:32:08 +00:00
Mike Pritchard
07677e5025
Document the lchmod(2) system call.
...
Pointed-out-by: bde
1999-07-30 10:08:21 +00:00
Mike Pritchard
38cf40702d
Add a manual page for getdents(2). This was taken from NetBSD, but
...
still needs some cleanup which is why it hasn't been added to the
Makefile yet.
Obtained from: NetBSD
Pointed-out-by: bde
1999-07-30 09:26:50 +00:00
Mike Pritchard
db58ff7d87
Document the lutimes() and futimes() system calls.
...
PR: kern/11213
Obtained from: NetBSD w/some minor changes by me
1999-07-30 09:01:45 +00:00
Mike Pritchard
4f8d723376
Mdoc cleanup.
1999-07-30 07:45:40 +00:00
Sheldon Hearn
c4cebec42e
Add missing cause for an EINVAL return (msgtype < 1).
...
PR: 12783
Submitted by: Kevin Day <toasty@dragondata.com>
1999-07-26 11:39:02 +00:00
Sheldon Hearn
4a9e5bd0db
Correct HISTORY section, according to CVS logs.
...
PR: 12810
Submitted by: Alex Perel <veers@disturbed.net>
1999-07-26 09:37:47 +00:00
Andrey A. Chernov
77eb0fc601
remove <ctype.h> - not needed
1999-07-26 05:50:43 +00:00
Andrey A. Chernov
89b86d020c
unsigned char cleanup
...
fix wrong index from p_simp_re()
PR: 8790
Submitted by: Alexander Viro <viro@math.psu.edu> (partially)
1999-07-26 01:33:38 +00:00
Tim Vanderhoek
6a8e2895aa
asprintf() does use realloc() internally, but saying so in the manpage can be
...
misinterpreted to mean that the pointer passed to asprintf() must be suitable
for passing to realloc() as-is (ie. either a NULL pointer or a valid pointer).
1999-07-25 17:38:59 +00:00
Nick Hibma
ebec760f9a
Update the manpage for the number of symlinks in ELOOP
...
PR: 12634 (partial)
Submitted by: Julian H. Stacey jhs@FreeBSD.ORG
1999-07-24 16:45:57 +00:00
Bruce Evans
6b288cfa64
Backed out previous commit. devname.3 and devname.c were broken in Lite1
...
(devname() returned "??" when the lookup failed, but callers expected it
to return NULL). This was fixed in Lite2, but until recently the changes
were only merged into devname.3. A day or two after devname.c was fixed,
devname.3 was made inconsistent again by backing out most of the Lite2
changes.
1999-07-24 00:33:27 +00:00
Nik Clayton
d4cd00eae1
Correct the information about the return value when no device matches
...
(or no information is available).
PR: docs/12707
Submitted by: Chris Costello <chris@calldei.com>
1999-07-20 20:48:40 +00:00
Poul-Henning Kamp
9d4ee2f2ef
Make devname(3) return something more intelligent than NULL if it doesn't
...
find anything in the database.
1999-07-18 10:19:48 +00:00
Hidetoshi Shimokawa
daa2e8d835
Enable gmon/mcount on alpha.
1999-07-16 07:05:34 +00:00
Hidetoshi Shimokawa
f2fd63aff2
Make profil() 64bit-safe for alpha.
...
uintfptr_t may be better for offset, but we must wait until
the definition of uintfptr_t moves from machine/profile.h.
Reviewed by: bde
1999-07-16 06:28:55 +00:00
Jonathan Lemon
9a670a9a6c
Reference correct sysctl: kern.maxsockbuf --> kern.ipc.maxsockbuf
1999-07-15 17:15:24 +00:00
Nik Clayton
fbc400a67a
Add $Id$, to make it simpler for members of the translation teams to
...
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
1999-07-12 20:50:10 +00:00
Wes Peters
b7edc98010
Fixed a minor style nit in the EXAMPLE section.
1999-07-10 19:18:42 +00:00
Poul-Henning Kamp
38edd9beb9
Clarify an explanation a little bit.
1999-07-09 21:35:37 +00:00
Dag-Erling Smørgrav
65b97b034e
Back out previous commit after discussing it with Dmitrij Tejblum.
1999-07-07 21:01:20 +00:00
Dag-Erling Smørgrav
c58b5cffa1
Always set errno to ENOMEM when returning 0 from malloc() or realloc().
...
Approved by: phk
1999-07-07 19:54:08 +00:00
David E. O'Brien
cb7a4779cb
Make the new %Z addition thread-safe.
1999-07-06 05:05:39 +00:00
David E. O'Brien
b47f20df89
Actually impliment the documented %Z specifier.
1999-07-04 08:54:26 +00:00
Mike Pritchard
4343edfe20
Nuke the BUGS sections of these man pages because they are not appropriate.
1999-07-01 21:13:06 +00:00
Mike Pritchard
ec8dae7070
Fix typos/spelling errors.
1999-07-01 21:09:57 +00:00
Wes Peters
96f31ff872
Add mising aio_* man pages. Fixed a minor typo in aio_read.2,
...
and "corrected" statement of Posix conformance.
1999-07-01 19:58:12 +00:00
Kris Kennaway
c47148499f
Spelll 'asynchronous' coriectly
1999-07-01 13:31:30 +00:00
Sheldon Hearn
940b9c82a0
Fix the NAME section of the kldload.2 manpage, which made reference to
...
kldunload. Add proper cross-references to the whole family.
PR: 12472
Submitted by: Chris Costello <chris@calldei.com>
1999-07-01 12:16:06 +00:00
Bill Fumerola
71ed709ce2
Clarify what happens if fd is set to -1
...
Submitted by: Alfred Perlstein <bright@rush.net>
1999-06-29 16:32:22 +00:00
Mike Pritchard
f858a016d8
Document that mlock() and munlock() can return EPERM if the
...
caller is not the super-user. Also document that we do not
currently support the per-process RLIMIT_MEMLOCK limit.
PR: doc/11607
1999-06-27 00:28:55 +00:00
Hidetoshi Shimokawa
d71d50b89c
Just return `curbrk' for sbrk(0) to avoid syscall overhead.
1999-06-26 15:22:33 +00:00
Joseph Koshy
c6b8c5fe4b
Correct troff sequence for backslashes in manual page.
...
PR: docs/12322
Submitted by: Marc Ramirez <mrami@gbtb.com>
1999-06-21 09:37:38 +00:00
Ruslan Ermilov
ac88d62d8f
Typo in previous commit.
1999-06-18 10:41:13 +00:00
Ruslan Ermilov
ca9807fc17
Mention that pid 1 is not affected by kill(-1, SIGXXX) too.
1999-06-18 10:24:12 +00:00
Brian Feldman
bdf43556fe
Minor English corrections were made; SEE ALSO was also fixed (no commas).
1999-06-17 23:43:35 +00:00
Mike Pritchard
49cb735198
Fix a minor style nit in the NAME section.
1999-06-11 16:26:29 +00:00
Mike Pritchard
fa91ff2797
Move the description of the strncmp() function from the RETURN VALUES
...
section to the DESCRIPTION section.
PR: 12133
Submitted by: Sheldon Hearn <sheldonh@uunet.co.za>
1999-06-11 16:16:32 +00:00
Mark Murray
1bcd27ee72
Improvement in the description of what this does.
...
Prompted by (and thanks to): W Richard Stevens
1999-06-10 22:48:27 +00:00