Maxim Sobolev
76c6864951
Fix cross-references:
...
ipnat.8 --> ipnat.1
environ.5 --> environ.7
isssetugid.2 --> issetugid.2
MFC after: 1 week
2001-06-05 12:23:22 +00:00
Warner Losh
485839b9ee
Document what happens when the real id is changed.
...
I may have obtained this from NetBSD, but I don't recall. I do know that
I checked FreeBSD's implementation to make sure that it matched what I wrote.
2001-06-05 04:35:42 +00:00
Ruslan Ermilov
0b381bf1fd
Remove vestiges of MFS.
2001-06-01 10:07:28 +00:00
Matthew Dillon
ac8f990bde
This patch implements O_DIRECT about 80% of the way. It takes a patchset
...
Tor created a while ago, removes the raw I/O piece (that has cache coherency
problems), and adds a buffer cache / VM freeing piece.
Essentially this patch causes O_DIRECT I/O to not be left in the cache, but
does not prevent it from going through the cache, hence the 80%. For
the last 20% we need a method by which the I/O can be issued directly to
buffer supplied by the user process and bypass the buffer cache entirely,
but still maintain cache coherency.
I also have the code working under -stable but the changes made to sys/file.h
may not be MFCable, so an MFC is not on the table yet.
Submitted by: tegge, dillon
2001-05-24 07:22:27 +00:00
Ruslan Ermilov
6ad10804f7
Rename (after a repo-copy) some mount(8) programs:
...
mount_fdesc -> mount_fdescfs
mount_null -> mount_nullfs
mount_portal -> mount_portalfs
mount_umap -> mount_umapfs
mount_union -> mount_unionfs
2001-05-23 14:58:19 +00:00
Archie Cobbs
88c1867f5c
Document ECONNREFUSED.
...
Submitted by: Richard Hodges <rh@matriplex.com>
2001-05-20 00:12:06 +00:00
Ruslan Ermilov
eb0838029f
mdoc(7) police: normalize .Nd.
2001-04-18 15:54:10 +00:00
Ruslan Ermilov
50597ec66b
mdoc(7) police: add missing .El call.
2001-04-16 15:06:57 +00:00
Dima Dorfman
5e75e35cca
Grammar police: "its", not "it's", is the possessive form of "it".
2001-04-15 19:53:47 +00:00
Dima Dorfman
143b77576c
Make links from setresuid.2 to getresgid.2 and getresuid.2.
2001-04-15 19:41:44 +00:00
Dima Dorfman
8a13bcbece
Document getresgid and getresuid calls.
...
Reviewed by: ru
2001-04-15 19:40:22 +00:00
Dima Dorfman
161897cfcb
Add `RETURN VALUES'' and
`ERRORS'' sections since getpgid(2) can
...
fail. Also fix a minor grammar nit (it's -> its).
PR: 26520
2001-04-14 02:34:59 +00:00
Daniel Eischen
54fd7f685f
To be consistent, use the __weak_reference macro from <sys/cdefs.h>
...
instead of #pragma weak to create weak definitions. This macro is
improperly named, though, since a weak definition is not the same
thing as a weak reference.
Suggested by: bde
2001-04-10 04:11:50 +00:00
Dima Dorfman
92020f7a8c
Mention that locks are inherited across an exec.
...
PR: 24802
Submitted by: Kenneth Ingham <ingham@i-pi.com>
2001-04-08 19:11:25 +00:00
Dima Dorfman
779b2ff010
Install links to extattr_(get|set|delete)_fd.2 (from extattr_get_file.2).
2001-04-08 06:58:48 +00:00
Dima Dorfman
e078cd7418
Document the extattr_(get|set|delete)_fd calls, and add a note warning
...
people that these calls are likely to change in the future.
Reviewed by: rwatson
2001-04-05 01:24:05 +00:00
Dima Dorfman
4811703143
Hook the extattr_get_file.2 manual page into the build. Add MLINKS
...
for extattr_set_file.2 and extattr_delete_file.2.
2001-04-01 23:46:56 +00:00
Dima Dorfman
7a6b7e421d
A manual page for the extattr_get_file, extattr_set_file, and
...
extattr_delete_file system calls.
Reviewed by: rwatson, ru
Approved by: nik
2001-04-01 23:45:11 +00:00
Ben Smithurst
fa6b8c1f53
Catch up with a comment that changed in rev1.73 of mount.h
...
PR: 25836
Submitted by: Tony Finch <dot@dotat.at>
2001-03-29 00:29:00 +00:00
Poul-Henning Kamp
392550af02
The f_syncreads and f_asyncreads entries are missing from the man page.
...
This also tidies up the formatting a bit and omits all the padding
entries.
PR: 25834
Submitted by: Tony Finch <dot@dotat.at>
2001-03-28 18:21:54 +00:00
Ruslan Ermilov
4a558355e5
MAN[1-9] -> MAN.
2001-03-27 17:27:19 +00:00
Dima Dorfman
895e96279a
Make it clear who can and can't set the UF_NODUMP, UF_OPAQUE, and
...
SF_ARCHIVED file flags.
PR: 25227
Approved by: nik
2001-03-19 23:51:09 +00:00
Matthew Dillon
66e845d8dc
Fix type-o
...
Submitted by: okazaki
2001-03-16 22:18:26 +00:00
Dima Dorfman
69451beb84
Correct descriptions of SOCK_RDM and SOCK_SEQPACKET.
...
PR: 25797
Submitted by: Yuko Sasaki <yuko@veltec.co.jp>
Approved by: nik
2001-03-16 01:18:03 +00:00
David Malone
9b860e1c34
Correct spelling of MNT_ASYNC.
...
PR: 25835
Submitted by: Tony Finch <dot@dotat.at>
2001-03-15 19:52:04 +00:00
Ruslan Ermilov
95b2071c56
.St -p1003.1g -> .St -p1003.1g-2000.
2001-03-12 17:28:01 +00:00
Ruslan Ermilov
7f3a1ed2a7
This is the getsid() we are talking about, not setsid().
...
PR: docs/25626
Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
2001-03-09 11:16:09 +00:00
Ruslan Ermilov
8ac6dca795
In soshutdown(), use SHUT_{RD,WR,RDWR} instead of FREAD and FWRITE.
...
Also, return EINVAL if `how' is invalid, as required by POSIX spec.
2001-02-27 13:48:07 +00:00
Ruslan Ermilov
589a5e341f
/^\.St/ s/-iso9945-1/-p1003.1-96/
2001-02-26 14:48:38 +00:00
Ruslan Ermilov
3d751065b0
`.St -p1003.1b'' ->
`.St -p1003.1b-93''.
2001-02-26 14:33:54 +00:00
Jason Evans
789d148cca
Document the EINTR error.
2001-02-26 09:38:01 +00:00
Jonathan Lemon
5d1c9c5606
Document various changes to kq:
...
- new EV_SET macro,
- NOTE_LOWAT option for low water marks on read/write filters,
- NOTE_REVOKE for filesystem unmounting (and revoke() calls)
- improved API for EVFILT_AIO
2001-02-26 04:16:19 +00:00
Jimmy Olgeni
a68886ad51
Fix my ambiguous message about ECONNABORTED.
...
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
2001-02-25 23:56:41 +00:00
Jimmy Olgeni
ff08a1b858
Add ECONNABORTED to the ERRORS section.
2001-02-25 22:12:40 +00:00
Peter Wemm
813ff33601
List the SA_RESTART flag rather than burying it in another paragraph.
2001-02-14 21:46:07 +00:00
Guido van Rooij
34bdee5b4b
Add include <sys/time.h> because kevent uses struct timespec
2001-02-14 08:48:35 +00:00
Ruslan Ermilov
6bf131c665
Sort PROT_* and MAP_* lists, logically and alphabetically respectively.
...
Suggested by: bde
General mdoc(7) cleanup.
2001-02-12 10:14:15 +00:00
Nik Clayton
6bd7c68cf0
Mention PROT_NONE in the list of possible protections.
...
Pointed out by: kris
2001-02-11 19:30:41 +00:00
Nik Clayton
3db072ec5e
Note that mmap(2) can allocate memory, as well as mapping existing files,
...
in the .Nd.
Reviewed by: hackers
2001-02-11 18:51:17 +00:00
Ruslan Ermilov
78b7a6c149
mdoc(7) police: prevent generation of the extra
...
whitespace after ``i.e.'', use .Rv, update .Dd.
2001-02-09 12:47:23 +00:00
Jacques Vidrine
5e0c0a9246
Document the cases in which setreuid changes the saved-user-ID.
2001-02-08 12:43:33 +00:00
Ruslan Ermilov
46eea498da
mdoc(7) police: Change -filled displays (which just happen
...
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.
2001-02-07 13:45:30 +00:00
Stephen McKay
48492d6b26
Spelling.
2001-02-04 02:05:16 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Daniel Eischen
c37592a194
Clean up syscall generation in libc by removing HIDDEN_SYSCALLS
...
and treating (almost) all system calls the same way:
__sys_foo - actual syscall
foo, _foo - weak definitions to __sys_foo
Change PSEUDO syscalls (currently only _exit and _getlogin) to
be __sys_foo (T) and _foo (W).
Add $FreeBSD$ to a few files to satisfy commitprep.
Suggested by: bde
2001-01-29 03:23:46 +00:00
Daniel Eischen
d201fe46e3
Remove _THREAD_SAFE and make libc thread-safe by default by
...
adding (weak definitions to) stubs for some of the pthread
functions. If the threads library is linked in, the real
pthread functions will pulled in.
Use the following convention for system calls wrapped by the
threads library:
__sys_foo - actual system call
_foo - weak definition to __sys_foo
foo - weak definition to __sys_foo
Change all libc uses of system calls wrapped by the threads
library from foo to _foo. In order to define the prototypes
for _foo(), we introduce namespace.h and un-namespace.h
(suggested by bde). All files that need to reference these
system calls, should include namespace.h before any standard
includes, then include un-namespace.h after the standard
includes and before any local includes. <db.h> is an exception
and shouldn't be included in between namespace.h and
un-namespace.h namespace.h will define foo to _foo, and
un-namespace.h will undefine foo.
Try to eliminate some of the recursive calls to MT-safe
functions in libc/stdio in preparation for adding a mutex
to FILE. We have recursive mutexes, but would like to avoid
using them if possible.
Remove uneeded includes of <errno.h> from a few files.
Add $FreeBSD$ to a few files in order to pass commitprep.
Approved by: -arch
2001-01-24 13:01:12 +00:00
Ben Smithurst
b83c969d48
Document EHOSTDOWN error.
...
PR: 24410
Submitted by: Martin Horcicka <horcicka@vol.cz>
2001-01-17 21:02:50 +00:00
Ben Smithurst
13d94cf612
The bit about sigpending not detecting any errors is a lie, it can return
...
EFAULT.
PR: 24360
Submitted by: Kenneth Ingham <ingham@i-pi.com>
2001-01-16 21:57:42 +00:00
Ruslan Ermilov
32f6256a49
Prepare for mdoc(7)NG.
2001-01-16 09:08:22 +00:00
Ruslan Ermilov
691eb641af
mdoc(7) police: fixed (minor) mdoc bugs introduced in previous revision.
2001-01-10 11:32:04 +00:00
Daniel Eischen
fc1d3c6dfb
Change the interface of getlogin_r to return an int. The former
...
interface was based on a draft version of POSIX whereas the final
(1996) version of POSIX specified that the error is returned.
While I'm here, fix getlogin_r so that it works for more than just
the first time it's called.
Reviewed by: wes, wollman (man page)
2001-01-01 13:29:19 +00:00
Ruslan Ermilov
4263595653
Prepare for mdoc(7)NG.
2000-12-29 14:08:20 +00:00
Ruslan Ermilov
88544700ca
mdoc(7) police: added missing .Os call.
2000-12-14 13:58:15 +00:00
Ruslan Ermilov
ed40311694
mdoc(7) police: removed history info from the .Os FreeBSD call.
2000-12-14 11:52:05 +00:00
Ruslan Ermilov
a2fd3702a3
mdoc(7) police: use canonical form of .Dd macro.
2000-12-11 15:15:20 +00:00
Ruslan Ermilov
687a7e07cf
mdoc(7) police: fix formatting errors in rev 1.27.
2000-12-04 08:11:50 +00:00
Matthew Dillon
fbf8638995
Add warning on file-fragmentation issues related to MAP_NOSYNC
2000-12-03 20:17:36 +00:00
Alfred Perlstein
070f57f520
document O_NOFOLLOW and O_FSYNC flags to open
2000-11-29 04:08:49 +00:00
Maxim Sobolev
1447779521
Add reference to elf(5) in addition to already mentioned a.out(5) and add both
...
elf(5) and a.out(5) into `SEE ALSO' section.
2000-11-27 15:18:25 +00:00
Sheldon Hearn
b97552bf54
Remove the only hard sentence break in the file.
2000-11-24 10:48:02 +00:00
Ruslan Ermilov
c23155a43a
mdoc(7) police: Er macro usage cleanup.
2000-11-22 16:02:00 +00:00
Ruslan Ermilov
725ab6287f
log
2000-11-22 09:23:54 +00:00
Jonathan Lemon
ee85cf8bb2
Fix a logic reversal: the RFFDG flag must be unset in order to share
...
a file descriptor table. (Thanks to Alan Cox)
Clarify the fact that the changelist and eventlist can be shared.
2000-11-21 22:40:59 +00:00
Jeroen Ruigrok van der Werven
02e1f97870
Clarify the time parameter of the kevent() system call.
...
Inspired by PR: 21708
Submitted by: Ronald F. Guilmette <rfg@monkeys.com>
Reviewed by: jlemon
2000-11-21 15:22:36 +00:00
Ruslan Ermilov
a304568fd9
mdoc(7) police: fixed warnings.
2000-11-20 14:22:41 +00:00
Ruslan Ermilov
563f6bde6e
mdoc(7) police: Nm -> Fn where appropriate.
2000-11-20 14:11:46 +00:00
Kris Kennaway
7853d5d839
Don't suggest people use getpid() to construct temporary filenames;
...
point them to mkstemp() instead.
Obtained from: OpenBSD (based on)
2000-11-19 10:30:42 +00:00
Ruslan Ermilov
251c176f41
mdoc(7) police: use certified section headers wherever possible.
2000-11-17 11:44:16 +00:00
Ben Smithurst
cb17760de7
Remove fullstops from the end of .Xr lines in SEE ALSO section.
2000-11-15 14:40:14 +00:00
Ruslan Ermilov
b5c508fba3
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
Alfred Perlstein
589d1374d4
remove outdated bugs, we actually do have aio_cancel support
...
as well as support for the field aio_offset in the aiocb structure.
2000-11-10 20:57:05 +00:00
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Sheldon Hearn
22c8b05f4e
Fix nits introduced in rev 1.9:
...
Remove single-space hard sentence break.
Mark errno up as a Variable (Va).
2000-10-30 19:43:30 +00:00
Jeroen Ruigrok van der Werven
f99e2564c2
Replace old sigaction struct declaration with the new one as present
...
in <sys/signal.h>.
This might be a shortterm fix until the manpage is updated towards
POSIX terminology. And maybe not...
PR: 21542
Submitted by: Ronald F. Guilmette <rfg@monkeys.com>
2000-10-30 14:27:18 +00:00
Jeroen Ruigrok van der Werven
5714e85318
Whitespace only change: trim trailing whitespace.
2000-10-30 13:23:19 +00:00
Nick Hibma
40a7a362c7
Correct the text on RETURN VALUES.
2000-10-20 00:27:56 +00:00
John W. De Boskey
6bf02e51da
Document the ptrace() PT_STEP request.
...
Add references to the newly added hardware debug register
support functions i386_clr_watch(3) and i386_set_watch(3).
Reviewed by: Sean Eric Fagan <sef@kithrup.com>
and no other response to the review request.
2000-10-14 04:01:39 +00:00
Peter Wemm
5edc357219
Add man pages for mod*(2). Shamelessly cut/pasted from the kld*(2) man
...
pages by Chris Costello.
2000-09-28 22:39:59 +00:00
Ralf S. Engelschall
a98588331c
Resurrect documentation of chflags(2)'s SF_ARCHIVED.
...
PR: 21428
Reviewed by: ben
2000-09-22 06:58:22 +00:00
Warner Losh
f741619cb2
Use .St -susv2 rather than "The Single UNIX Specification".
...
Submitted by: sheldonh
2000-09-04 15:38:58 +00:00
Warner Losh
71300cb5db
Soften the statement about select's timeout argument. This part of
...
the system likely won't change in the future, but the warning is a
good idea.
2000-09-04 03:32:30 +00:00
Jonathan Lemon
b275c430a5
Document return value of ENOENT for nonexistent/invalid filter entries.
2000-08-07 16:47:35 +00:00
Ben Smithurst
d9b1c37c3b
Fix description of argv[0] passed to interpreted scripts; it's the name of
...
the interpreter, _not_ the argv[0] passed in the original exec() call.
2000-08-05 16:38:24 +00:00
Peter Wemm
41cbed694a
Revert the temporary hack in rev 1.79.
2000-08-01 18:50:29 +00:00
Peter Wemm
5cb2354662
Add pointers to rfork_thread(3)
2000-07-31 05:43:43 +00:00
Peter Wemm
00bc791d86
Deal with the exit entry in MIASM changing to sys_exit.
...
This Is A Hack(TM).
2000-07-29 00:28:44 +00:00
Matthew Dillon
01ba8e704f
MFC 1.11.2.3 from -stable to -current
2000-07-25 18:50:22 +00:00
Sheldon Hearn
3c63f48c66
Clean up some nits, with the permission of the author:
...
* Grammar fixes.
* Mark up rfork and vnode as cross-references.
* Clarify the use of the RFFDG flag to rfork(2).
2000-07-24 18:03:53 +00:00
Alfred Perlstein
372e9eb0af
use .Pp instead of faking it with an extra newline
...
Pointed out by: sheldonh
2000-07-20 11:05:52 +00:00
Alfred Perlstein
f47d88b0b7
document get/set sockopt usage with accept_filter(9)
2000-07-20 10:33:08 +00:00
Sheldon Hearn
a6b651021d
Update stale references to update(4) with references to the new
...
syncer(4) manual page.
2000-07-19 07:39:08 +00:00
Jonathan Lemon
a8e65b915e
Simplify kqueue API slightly.
...
Discussed on: -arch
2000-07-18 19:31:52 +00:00
Jason Evans
8e234adf86
Change my email address in the copyright notices for the sake of consistency
...
(jasone@canonware.com --> jasone@freebsd.org ).
2000-07-18 01:38:19 +00:00
Ben Smithurst
f21ff38bf4
Make the NAME section a bit less confusing.
...
PR: 19262
Submitted by: NOKUBI Hirotaka <nokubi@ff.iij4u.or.jp>
Reviewed by: sheldonh
2000-07-15 13:04:33 +00:00
Ben Smithurst
744cb90e1f
Fix typo; sa_siginfo -> sa_sigaction
...
PR: 19602
Submitted by: Tony Finch <dot@dotat.at>
2000-07-11 11:39:57 +00:00
Daniel Harris
9559d2b084
First appeared in 2.9BSD, not 3.0.
...
PR: 19263
Submitted by: NOKUBI Hirotaka <nokubi@ff.iij4u.or.jp>
Obtained from: Open|NetBSD
2000-07-08 18:17:12 +00:00
John-Mark Gurney
20ff215b1d
remove sys/time.h by instruction from bde.
2000-07-06 22:18:44 +00:00
John-Mark Gurney
55b8fbfb5b
change first release date to 4.1-R as 5.0-R won't be out for at least a
...
year (from jkh)..
Caught by: Fx macro warning on 3.4-R
2000-06-26 21:23:57 +00:00
Alexander Langer
271c4bdbce
The argument is not mcontext_t but ucontext_t.
...
PR: 17836
Submitted by: Tim Moore <moore@bricoworks.com>
2000-06-26 15:00:25 +00:00
Chris Costello
4b4289e4d0
Repair a cross-reference to sync(1) that should refer to sync(8).
2000-06-23 20:47:50 +00:00
Chris Costello
1c67d6c539
Properly separate paragraphs by using `.Pp' instead of a blank line.
2000-06-23 20:35:45 +00:00
Chris Costello
4f18b87801
Remove blank lines.
2000-06-23 20:34:31 +00:00
Sheldon Hearn
8a4272bf51
Mark up errno as a variable (Va), not as a defined value (Dv).
...
Do not terminate the cross-reference list in the SEE ALSO section with
a period.
2000-06-23 15:02:29 +00:00
Sheldon Hearn
a6a2ba1c18
Apply the accepted line breaking rules.
2000-06-23 15:01:18 +00:00
Chris Costello
bb33e42207
Replace .Va, .Ar and .Nm with .Fa or .Va where necessary, examples:
...
``.Ar errno'' -> ``.Va errno''
``.Nm ops'' -> ``.Fa ops''
``.Va fd'' -> ``.Fa fd''
2000-06-23 05:05:44 +00:00
Chris Costello
a907d4fd1f
Replace an erroneous .Va error' with
.Va errno'.
2000-06-23 04:25:10 +00:00
Chris Costello
48b5eb7c85
Replace `FreeBSD 4.0'' with
`.Fx 4.0'' and remove a useless empty line
...
at the end of the file.
2000-06-23 03:50:32 +00:00
Chris Costello
dca3f6825f
Replace .Va references to function arguments to .Fa references.
2000-06-23 03:43:34 +00:00
Josef Karthauser
0a266c86a2
Make a note of fflagstostr and strtofflags in the 'see also' section.
2000-06-17 14:03:34 +00:00
Alexander Langer
cb477b672b
Fix typo: turn of -> turn off.
...
PR: 18805
Submitted by: Yoshihiro Ota <ota@mail.drexel.edu>
Kind of Reviewed by: asmodai ("sure")
2000-06-13 12:50:47 +00:00
John-Mark Gurney
e585cdf0ce
add a BUGS section on how we can only watch VNODE's on a UFS file system
...
right now...
I talked w/ phk last night and "fixing" this in a generic way is going
to require a lot of complex thought on stacking let alone the NFS problems..
add missing sys/time.h for struct timespec def...
2000-06-07 22:09:16 +00:00
Chris Costello
f9a2346166
Replace a `manual(section)' reference with a proper .Xr statement.
2000-05-31 21:12:08 +00:00
John-Mark Gurney
af7b56f450
fix up the kqueue documentation... comment some things that were left
...
out that really needed to be here...
Reviewed-by: jlemon
2000-05-24 04:29:57 +00:00
Brian Feldman
a274d19ba2
Back out NOTE_EXIT status reporting pending discussion.
2000-05-21 16:27:41 +00:00
Chris Costello
12b03e57e5
Remove a superfluous `.Pp' occuring directly after
...
`.Sh IMPLEMENTATION NOTES'.
2000-05-19 02:55:43 +00:00
Chris Costello
ef626a01c1
Add a note under IMPLEMENTATION NOTES about the behavior of sendfile()
...
in the threaded library.
2000-05-19 02:53:55 +00:00
Peter Wemm
76e61b9c71
List ECONNRESET as a return value. EINVAL was not documented either.
2000-05-19 01:00:57 +00:00
Brian Feldman
a24b514d72
Put the wait(2) exit status in "data" for NOTE_EXIT kevents.
2000-05-17 01:16:11 +00:00
Bruce Evans
200f7053ee
Fixed missing include in synopsis.
...
Use a long line instead splitting a line with backslash-newline in synopsis.
My synopsis checker doesn't understand backslash-newline.
2000-05-11 16:01:17 +00:00
Tim Vanderhoek
49ca482a68
When "any" acts as a subject, the verb must agree with whatever any is of.
2000-05-11 05:29:10 +00:00
Tim Vanderhoek
d4b81c98d8
Content-free commit: only remove trailing whitespace
2000-05-11 05:06:00 +00:00
Tim Vanderhoek
18bd6f9514
The accept() function is a call, not an argument. Also, add: serial
...
comma, missing-hyphen, and a word-erase character.
2000-05-11 05:04:30 +00:00
Jonathan Lemon
4451bb5da5
Some mdoc cleanups for the manual page.
...
Submitted by: phantom
2000-05-06 13:06:03 +00:00
Jonathan Lemon
ad35a4c94a
Add a kqueue(2) manual page.
2000-05-04 20:11:38 +00:00
Alexey Zelkin
4f79a4117a
Use `Er' variable to define first column width in ERRORS section. It was
...
initially suggested by mdoc(7) style, but was broken over the years
2000-05-04 13:09:25 +00:00
Alexey Zelkin
2a53c5ec96
mdoc(7) cleanup:
...
. use real function names as `.Nm' macro argument in NAME section. It allows
them to appear in apropos(1) or whatis(1) output.
. replace empty lines with `.Pp' macro.
. replace hardcoded standard names with their `.St' macro equivalents.
. sort cross references in SEE ALSO section
2000-05-04 08:05:45 +00:00
Jason Evans
4c089f4dff
Add missing man pages. Fix various compliance bugs, mostly having to do with
...
error return values. Implement pthread_mutexattr_gettype().
PR: docs/16537, docs/17538
2000-05-02 06:51:40 +00:00
Joseph Koshy
0588fce1ba
Fix typo. Use `.Fa' to denote a function argument.
...
PR: docs/18214
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
2000-04-26 05:09:22 +00:00
Garrett Wollman
d166947eda
Spell MAP_NOSYNC correctly.
...
Submitted by: allenc@verinet.com
2000-04-23 15:15:15 +00:00
Garrett Wollman
c1c8bf8375
.Lb-ify
2000-04-23 02:02:33 +00:00
Garrett Wollman
5c317306cb
Add shm_open(3) and shm_unlink(3). The documentation could use a good
...
bit of work (and is stylistically probably the worst manual page
I've ever written).
2000-04-22 15:24:29 +00:00
Alexey Zelkin
25bb73e063
Introduce ".Lb" macro to libc manpages.
...
More libraries manpages updates following.
2000-04-21 09:42:15 +00:00
Archie Cobbs
2d6fdfda46
Document EWOULDBLOCK as a possible errno return value.
2000-04-09 19:10:57 +00:00
Bruce Evans
e92393ba2b
Fixed wrong arg type in synopsis.
2000-03-23 15:28:30 +00:00
Jason Evans
070dac0827
Add a man page for aio_waitcomplete(). Update the aio_cancel() man page to
...
reflect the fact that aio_cancel() works now.
Submitted by: Christopher Sedore <cmsedore@maxwell.syr.edu>
2000-03-21 10:25:22 +00:00
Sheldon Hearn
4e86fcacf6
Remove more single-space hard sentence breaks.
2000-03-02 14:54:02 +00:00
Sheldon Hearn
c6ff3a1bf7
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-02 09:14:21 +00:00
Paul Saab
9730a5daab
Add MAP_NOCORE to mmap(2), and MADV_NOCORE and MADV_CORE to madvise(2).
...
This
This feature allows you to specify if mmap'd data is included in
an application's corefile.
Change the type of eflags in struct vm_map_entry from u_char to
vm_eflags_t (an unsigned int).
Reviewed by: dillon,jdp,alfred
Approved by: jkh
2000-02-28 04:10:35 +00:00
Matthew Dillon
1f6889a1eb
Fix null-pointer dereference crash when the system is intentionally
...
run out of KVM through a mmap()/fork() bomb that allocates hundreds
of thousands of vm_map_entry structures.
Add panic to make null-pointer dereference crash a little more verbose.
Add a new sysctl, vm.max_proc_mmap, which specifies the maximum number
of mmap()'d spaces (discrete vm_map_entry's in the process). The value
defaults to around 9000 for a 128MB machine. The test is scaled for the
number of processes sharing a vmspace (aka linux threads). Setting
the value to 0 disables the feature.
PR: kern/16573
Approved by: jkh
2000-02-16 21:11:33 +00:00
Chris Costello
efeff014b4
Replace .Os BSD' which caused a troff error with
.Bx' which also
...
happens to be the correct macro to use in this situation.
2000-02-14 01:34:15 +00:00
David E. O'Brien
ed0010ed09
Document the support in the kernel for hardware debug registers on the
...
ix86 platform which allows for hardware watchpoints, etc...
Submitted by: Brian Dean <brdean@unx.sas.com>
2000-02-12 18:33:54 +00:00
Guido van Rooij
68d1433483
We _do_ support MS_ASYNC
...
Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>
2000-01-24 18:35:16 +00:00
Alfred Perlstein
621d130fd8
Clarify that we don't offer hard realtime.
...
Split timeval options into 3 paragraphs, it's easier on my eyes.
2000-01-24 02:13:21 +00:00
Sheldon Hearn
58d6ca9155
Add HISTORY.
...
Submitted by: obrien
2000-01-18 12:50:13 +00:00
Bruce Evans
ee17748d12
Fixed missing backslash in previous commit. Adding setresuid.2 has taken
...
4 commits and 2 world breakages so far.
2000-01-18 05:38:05 +00:00
Sheldon Hearn
6af37844c7
Fix line too long style bug in the previous commit (which, by the
...
way, unbroke world).
2000-01-18 05:15:26 +00:00
Andrey A. Chernov
2b85852d78
add setresuid.2
2000-01-18 04:37:21 +00:00
Sheldon Hearn
b905f5bd46
Add manual pages for the newly added setres[ug]id system calls.
2000-01-17 15:01:42 +00:00
Kris Kennaway
bd2d54f0cb
Sync contents of struct nfsd_svrargs
2000-01-09 01:54:35 +00:00
Bruce Evans
2f64ff4437
Fixed wrong #include in synopsis.
1999-12-23 16:48:57 +00:00
Bruce Evans
7452ae6ecc
Fixed missing `const' in synopsis.
1999-12-23 16:46:34 +00:00
Bruce Evans
3050159ad5
Fixed missing installation of a link to getlogin_r.3. This is the first
...
example of section 2 and section 3 interfaces sharing a man page. It's
probably a bad example.
1999-12-23 16:12:24 +00:00
Jeroen Ruigrok van der Werven
7bf92e055d
Fix a typo which I cannot believe I missed after rereading this text
...
about 6-7 times prior to commit.
Reported by: sheldonh
1999-12-21 11:55:44 +00:00
Jeroen Ruigrok van der Werven
7ec9b49533
Properly manify this manpage.
...
Fix some spelling mistakes and typo's inspired by Nicholas' initial
PR submission.
PR: docs/15597
Submitted by: Nicholas Esborn <nick@flatlan.net>
1999-12-21 11:19:32 +00:00
Martin Cracauer
48e364bf96
Document SA_SIGINFO
...
Reviewed by: Sheldon Hearn <sheldonh@uunet.co.za>
1999-12-15 16:51:35 +00:00
Matthew Dillon
4f79d873c1
Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to
...
madvise().
This feature prevents the update daemon from gratuitously flushing
dirty pages associated with a mapped file-backed region of memory. The
system pager will still page the memory as necessary and the VM system
will still be fully coherent with the filesystem. Modifications made
by other means to the same area of memory, for example by write(), are
unaffected. The feature works on a page-granularity basis.
MAP_NOSYNC allows one to use mmap() to share memory between processes
without incuring any significant filesystem overhead, putting it in
the same performance category as SysV Shared memory and anonymous memory.
Reviewed by: julian, alc, dg
1999-12-12 03:19:33 +00:00
Archie Cobbs
93521056fa
Add reference to netgraph(4) in the 'see also' section.
1999-12-06 23:35:40 +00:00
Brian Feldman
1c982a6d2f
Add RLIMIT_SBSIZE here, too.
1999-12-03 23:25:14 +00:00
Wes Peters
4d3be89f2a
Document the getlogin_r function.
1999-11-28 22:41:50 +00:00
Poul-Henning Kamp
9b962c56a4
General clean-up of socket.h and associated sources to synchronise up
...
with NetBSD and the Single Unix Specification v2.
This updates some structures with other, almost equivalent types and
effort is under way to get the whole more consistent.
Also removes a double definition of INET6 and some other clean-ups.
Reviewed by: green, bde, phk
Some part obtained from: NetBSD, SUSv2 specification
1999-11-24 20:49:04 +00:00
Chris Costello
328984c261
Properly document what ENOENT really means for kldfind(2).
1999-11-14 18:15:33 +00:00
Nik Clayton
de1efdfc1a
Document that bind(2) can fail with EAGAIN.
...
PR: docs/14173 docs/14181
Submitted by: Charles Randall <crandall@matchlogic.com>
Submitted by: Kelly Yancey <kbyanc@posi.net>
1999-11-01 19:43:07 +00:00
Wes Peters
9466cad206
Correct the description of the timeout argument. I've examined
...
the code, which seems to implement the POSIX requirements, and
have described the behavior here. Basically, it behaves the same
as select(2).
Noticed by: John Polstra
1999-10-09 01:35:58 +00:00
Wes Peters
58ae401b79
Fixed a typo (well, format-o) in yesterday's edits.
...
Spotted by: John Polstra <jdp@polstra.com> (again)
1999-09-21 17:30:43 +00:00
Wes Peters
236cb8163d
Fixed the description of when and why aio_suspend returns.
...
Also spelled out the return values and conditions a little
better.
Noticed by: John Polstra <jdp@polstra.com>
1999-09-20 18:30:55 +00:00
Poul-Henning Kamp
978f8d9300
Add a version number field to the jail(2) argument so that future changes
...
can be handled intelligently.
1999-09-19 08:36:03 +00:00
Alfred Perlstein
07181581f9
Add FreeBSD history in 'HISTORY'
...
Pointed out by: obrien
1999-09-11 21:07:14 +00:00
Bruce Evans
665e2b8d01
Fixed disordering in previous commit.
1999-09-11 14:20:18 +00:00
Alfred Perlstein
6e5eff6270
Document fhopen, fhstat, and fhstatfs syscalls.
...
Obtained from: NetBSD
1999-09-11 00:49:10 +00:00
Alfred Perlstein
6430719389
sync with src/sys/sys/mount.h
1999-09-10 09:12:24 +00:00
Bill Fumerola
3113e9d141
Add aio_{cancel,error,return,suspend,write} into the mix.
...
Submitted by: Dan Nelson <dnelson@emsphone.com>
Forgotten by: mpp
1999-09-09 19:06:57 +00:00
Alexey Zelkin
0ae8283b3d
Some style and "look" fixes
...
Reviewed by: mpp
1999-09-05 07:02:22 +00:00
Alexey Zelkin
b288071d9d
Name Description (.Nd macro) added.
...
Style and punctuation errors fixes.
ERRORS section included to RETURN VALUES because it's
describing return values instead of errors and their handling.
Reviewed by: mpp
1999-09-05 06:59:34 +00:00
Alexey Zelkin
1fcbf95515
mdoc(7) style fix.
...
Correct RB_* values list bounds.
Reviewed by: mpp
1999-09-05 06:50:49 +00:00
Alexey Zelkin
b6c461d787
mdoc(7) style fix: FreeBSD -> .Fx
...
Reviewed by: mpp
1999-09-05 06:47:01 +00:00
Alexey Zelkin
417f221ddc
Remove useless .Fn macro suffix
...
Reviewed by: mpp
1999-09-05 06:41:49 +00:00
Alexey Zelkin
c60ceb83c2
mdoc style fix.
...
Reviewed by: mpp
1999-09-05 06:39:22 +00:00
Alexey Zelkin
3cd9a8622a
mdoc(7) style fixes
...
Reviewed by: mpp
1999-09-05 06:37:01 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Mike Pritchard
8a951d305e
Remove some 4.3BSDish anacronisims that stated that it was an
...
error for a pathname to contain a character with the high-order
bit set.
Inspired by: joerg's previous commit
1999-08-27 20:21:18 +00:00
Joerg Wunsch
b6e3808f9b
Remove a 4.3BSDish anachronism that claimed EPERM for an attempt to
...
mknod() a pathname containg a ``character with the high-order bit
set''.
1999-08-27 14:25:00 +00:00
Chris Costello
1d71a557cc
Document ENOSYS error.
...
PR: docs/13290
1999-08-23 11:07: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
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
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
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
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
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