317 Commits

Author SHA1 Message Date
dufault
d3dd91fcbc Reviewed by: bde
Changes to support building with _POSIX_SOURCE set to 199309L:

1. Add sys/_posix.h to handle those preprocessor defs that POSIX
says have effects when defined before including any header files;

2. Change POSIX4_VISIBLE back to _POSIX4_VISIBLE

3. Add _POSIX4_VISIBLE_HISTORICALLY for pre-existing BSD features now
defined in POSIX.  These show up when:

_POSIX_SOURCE and _POSIX_C_SOURCE are not set or
_POSIX_C_SOURCE is set >= 199309L

and vanish when:

_POSIX_SOURCE is set or _POSIX_C_SOURCE is < 199309L.

4. Explain these in man 9 posix4;

5. Include _posix.h and conditionalize on new feature test.
1998-03-08 17:25:38 +00:00
dufault
e28788f2a4 Reviewed by: msmith, bde long ago
POSIX.4 headers and sysctl variables.  Nothing should change
unless POSIX4 is defined or _POSIX_VERSION is set to 199309.
1998-03-04 10:27:00 +00:00
jraynard
e34d61643b Fix a few typos. 1998-02-28 15:37:25 +00:00
jraynard
c8c52f6eb7 Strings are terminated by NUL, not NULL. 1998-02-28 15:35:22 +00:00
bde
d7c390eb8a Don't refer to the nonexistent function VOP_VALLOC. 1998-01-20 11:08:06 +00:00
bde
ebfc352c09 Removed obsolete man pages. 1998-01-16 18:56:34 +00:00
bde
551a2d6746 Removed references to the man pages for the obsolete interfaces
VOP_BLKATOFF, VOP_SEEK, VOP_SELECT, VOP_TRUNCATE, VOP_UPDATE,
VOP_VALLOC and VOP_VFREE.
1998-01-16 18:49:42 +00:00
bde
9a32771ecf Fixed synopsis again. Too much was blown away by splatting a NetBSD-
based version over the top of the FreeBSD version in rev.1.6.
1998-01-16 18:45:52 +00:00
bde
69456bf194 Fixed bitrot. The type of the "level" is intrmask_t, not int. 1998-01-16 18:14:34 +00:00
bde
50ea0c54c5 Fixed prototype for tsleep() (const poisoning). 1998-01-16 18:12:57 +00:00
bde
a6e05ea1ce Fixed a missing #include in the synopsis. 1998-01-16 18:06:23 +00:00
steve
9c31d64ae2 Comment out xref to buf(9) manpage.
PR:		5421
1998-01-03 22:26:00 +00:00
alex
410918fc30 Expanded cross references. 1998-01-02 19:22:52 +00:00
bde
34c0486acc Sorted lists. Use the same style as most Makefiles for `MLINKS+=' lines. 1998-01-01 10:12:14 +00:00
bde
40182de9c0 Install devfs_remove_dev.9 and suser.9. 1998-01-01 09:40:21 +00:00
wosch
2608f479cc The terminating character in strings is NUL', not NULL'. 1997-12-28 12:06:29 +00:00
hoek
100ffb8b0a Use consistent spelling,
writeable -> writable (recall prior debate over this? :-)
	initialise -> initialize
	recognise -> recognize

Merry Christmas! :)
1997-12-25 09:36:42 +00:00
julian
13a5c596cc Add a man page for REMOVING devices from devfs. 1997-12-25 05:54:24 +00:00
wollman
be3ced3cd6 oops, remove a dangling predicate left over after a sentence was rewritten. 1997-12-07 20:25:45 +00:00
wollman
3a8f41f403 Add some more macro advice and correct spelling of ``parentheses''. 1997-12-07 20:19:20 +00:00
wollman
764a89788d Added some advice to avoid typedef'ing structures, as this breaks
information-hiding.  Also recommended against naming typedefs to end
in _t unless POSIX or ANSI requires it, and in favor of using queue(3)
macros to generate lists rather than rolling one's own.
1997-12-07 19:53:44 +00:00
bde
77a5ba68eb Fixed spelling of EACCES. 1997-11-23 17:58:55 +00:00
obrien
5dafd13bb0 state that "kernel includes" ==> sys/*.h 1997-11-12 06:29:10 +00:00
phk
17f9f4e578 Update malloc.9 to reflect new reality. 1997-10-11 08:11:31 +00:00
phk
bd3b9b08a8 Be a little closer to current reality. 1997-10-11 07:39:45 +00:00
wosch
0de5e596d7 Sort cross refereces in section SEE ALSO. 1997-09-29 10:11:02 +00:00
gibbs
10311ac873 Updated timeout.9 man page describing the new callout interface. This
man page was based on the NetBSD version.
1997-09-21 22:12:19 +00:00
eivind
9e1601990c Activate the bios.9 manpage.
PR:	4215
1997-08-12 18:24:44 +00:00
msmith
280ba13a95 Oops, fix manpage title. 1997-08-01 15:17:54 +00:00
msmith
f0394689ef Manpage for new BIOS functionality.
(Skeletal, could do with some extra references.)
1997-08-01 06:04:08 +00:00
peter
fa1c15c6c4 An overhaul of style.9 to clear up some of the ambiguities. A number of
things are explicitly stated now rather than being implied by example.

Obtained from: Quite a few people over the last few weeks
Reviewed by: core
1997-05-27 10:00:08 +00:00
alex
9cbc8425a5 Typo fix: sq --> qs 1997-05-12 01:56:31 +00:00
bde
81c85a1050 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 14:49:13 +00:00
bde
d280e8e0d0 Updated synopsis for Lite2.
Fixed missing #include in synopsis.
1997-04-13 14:39:59 +00:00
bde
8be7733c4d Fixed #include(s) in the synopsis to actually declare the function(s) in the
synopsis.
1997-04-11 17:58:16 +00:00
bde
40a06f087a Cleaned up synopsis:
- don't quote function names, since quoting them is unnecessary and
  unusual and confuses my synopsis checker.
- include <sys/types.h> instead of <sys/param.h>.  It is normal to
  (have to) include <sys/param.h> instead of <sys/types.h>, but it
  is more useful for man pages to document minimal prerequisites.
1997-04-11 17:55:19 +00:00
bde
37c6de8c8b Fixed synopsis:
- don't declare nonexistent function sleep().
- don't include <sys/errno.h> explicitly.

sleep() should be nuked some more, e.g., this man page should not be
named after a nonexistent function.
1997-04-11 17:49:56 +00:00
mpp
9bbed0ec57 Check for -1 instead of EOF in the getopt() example.
Submitted by:	Kent Vander Velden
1997-04-09 19:03:14 +00:00
mpp
8b2ae1155b Document wakeup_one(). 1997-04-09 05:39:32 +00:00
jmg
5718f160bd uncomment CD_Q_BCD_TRACKS flag, add xref to scsi(4) 1997-04-02 09:41:16 +00:00
mpp
a3cb9f3f40 Add malloc(9) to document the kernel malloc() and free() routines.
Obtained from: NetBSD w/changes to reflect current FreeBSD headers
and diagnostic messages.
1997-03-22 23:50:21 +00:00
mpp
761b22f4a3 Minor mdoc fixes. 1997-03-22 22:47:34 +00:00
mpp
08751c4aec Add vslock(9) to document the vslock() and vsunlock() kernel functions.
Obtained from: NetBSD
1997-03-22 22:21:37 +00:00
mpp
9d7600e50e One minor mdoc fix. 1997-03-22 22:19:26 +00:00
mpp
b8cac29a60 Add kernacc(9) that documents the kernacc() and useracc() kernel
functions.

Obtained from: NetBSD (renamed from access.9)
1997-03-22 22:06:07 +00:00
mpp
149d6005f7 Add physio(9).
Obtained from: NetBSD w/minor FreeBSD changes
1997-03-22 21:31:29 +00:00
mpp
a625d152d0 Add mi_switch.9. It documents the kernel mi_switch() and cpu_switch()
context switching functions.

Obtained from: NetBSD (renamed from ctxsw.9)
1997-03-22 20:59:18 +00:00
mpp
46c4b1647f Add resettodr(9).
Obtained from: NetBSD
1997-03-22 20:07:04 +00:00
mpp
1091fea9b4 Add inittodr(9) to document how the system clock is initialized.
Obtained from NetBSD and then modified to reflect how things work
in FreeBSD, along with some minor changes to make a few points
clearer.
1997-03-22 19:46:44 +00:00
mpp
7e56192688 Add time(9) to document the kernel time variables. Obtained from
NetBSD and then modified by me to reflect some FreeBSD specific
things and to clarify some other pointed based on some old mail
from Bruce Evans about this man page.
1997-03-22 19:09:31 +00:00