Commit graph

3038 commits

Author SHA1 Message Date
Peter Holm 91289ebc39 Reverted to revision 1.8 as previous fix causes fts_open with with a
path name argument with a trailing '/' to fail.

Reviewed by:	phk
1999-08-15 19:21:29 +00:00
Mike Pritchard 74804d58a0 Various man page cleanup:
- Sort xrefs
- FreeBSD.ORG -> FreeBSD.org
- Be consistent with section names as outlines in mdoc(7)
- Other misc mdoc cleanup.

PR:		doc/13144
Submitted by:	Alexy M. Zelkin <phantom@cris.net>
1999-08-15 09:51:25 +00:00
Peter Holm 82f712dfaf Reviewed by: phk
When fts_open is used with option FTS_NOCHDIR the full
path entry of type FTS_DP is returned with a trailing
'/' if the final directory is empty.
This fix coresponds to netbsd's __fts13.c v. 1.16
1999-08-14 12:19:40 +00:00
Chris Costello a3f2a0a926 Bad reference to exit(2) changed to exit(3). 1999-08-14 08:13:35 +00:00
Chris Costello f815187c41 Bad reference exit(2) changed to exit(3) 1999-08-14 08:05:46 +00:00
Chris Costello ab9120cd42 Add $Id$ tag. 1999-08-14 07:59:58 +00:00
Chris Costello 823e5a6438 Bad reference time(2) changed to time(3) 1999-08-14 07:57:52 +00:00
Chris Costello 27f42f4fd8 Bad reference of termios(3) changed to termios(4). 1999-08-14 07:52:29 +00:00
Chris Costello b21e4aed42 Bad reference of sysctl(1) changed to sysctl(8) 1999-08-14 07:46:50 +00:00
Chris Costello 84f347708b Bad reference to lstat(3) changed to lstat(2) 1999-08-14 07:43:02 +00:00
Chris Costello a251398eea Fix .Xr line for `getpagesize' 1999-08-14 07:33:15 +00:00
Chris Costello b07158f71c Fix some bad references:
fopen(2) -> fopen(3)
  fclose(2) -> fclose(3)
1999-08-14 07:07:46 +00:00
Chris Costello e5721f2fd3 Change reference to mount(1) to mount(8) 1999-08-14 06:17:24 +00:00
Chris Costello 2d3a25e901 Change reference from kldload(3) to kldload(2) 1999-08-13 21:02:39 +00:00
Sheldon Hearn 7312edcec3 Axe LOGIN_CAP_AUTH.
PR:	10115
Reported by:	Gene Skonicki <gene@cif.rochester.edu>
Requested by:	jdp
1999-08-13 16:51:40 +00:00
Daniel Eischen 936aa6b443 Add check for runnable threads before polling file descriptors.
Submitted by:	tegge
1999-08-12 19:34:39 +00:00
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
Daniel Eischen fa7c4d5575 Add RCS IDs to those files without them.
Fix copyrights (s/REGENTS/AUTHOR).

Suggested by:	tg
Approved by:	jb
1999-08-05 12:15:30 +00:00
Daniel Eischen 8b5d18ec76 Fix thread initialization to allow for the case where stdio file
descriptors are not opened.

PR:		bin/12853
Reviewed by:	jb
1999-08-05 12:08:10 +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
Nik Clayton 206ccf0420 Correct some grammar and style problems with this page.
Submitted by:   Kris Kennaway <root@rebel.net.au>
1999-07-20 20:46:26 +00:00
Brian Feldman a2dca20711 Various cleanups. 1999-07-19 17:37:42 +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 480d03cbdd Enable gcrt1.o. 1999-07-16 06:59:27 +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 d7dcd048aa Be a little clearer about login_getpwclass(3), and its penchant for
looking up a record called "root".

PR:             docs/12377
Submitted by:   Adrian Filipi-Martin <adrian@ubergeeks.com>
1999-07-14 22:36:10 +00:00