Commit Graph

929 Commits

Author SHA1 Message Date
perry
8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
jdolecek
d644334729 update copyright dates and .Dd 2003-02-04 09:07:20 +00:00
jdolecek
ebec5a4dfb Introduce EVFILT_TIMER, which allows a process to establish an
arbitrary number of timers, both oneshot and periodic.

from FreeBSD
2003-02-04 09:05:42 +00:00
jdolecek
6034a0fc70 use right function name in HISOTRY, this is not _lwp_create(2) 2003-01-31 22:06:45 +00:00
thorpej
2dcac9e4eb Make the generated .S files depend on ${.CURDIR}/sys/Makefile.inc. 2003-01-28 00:33:23 +00:00
nathanw
c316063660 Move accept and connect stubs to WEAKASM so that they can be overridden. 2003-01-27 20:55:56 +00:00
kleink
35a8bdf8fa While we're here, document EPERM. 2003-01-22 15:28:37 +00:00
kleink
75adcdd6f1 Add a STANDARDS section; requested by Thomas Klausner. 2003-01-22 15:24:03 +00:00
kleink
a26c2fe5e2 A function wrapper cannot be used for getcontext(), so error out
if neither weak aliases nor indirect references are available.
2003-01-21 19:15:05 +00:00
christos
111839200d Add _ksem stubs. 2003-01-20 20:09:27 +00:00
jdolecek
3d8d8663b9 g/c the NEXTRELEASE comment tag now that the next version number is decided 2003-01-19 20:12:31 +00:00
wiz
29192bf866 Fix typo. 2003-01-19 19:31:10 +00:00
wiz
65d34efcf9 Drop trailing comma in SEE ALSO. 2003-01-19 19:15:36 +00:00
wiz
0163abbccb Bx Open -> Ox. 2003-01-19 19:14:22 +00:00
thorpej
3fdac2b8c5 Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
tsarna
350f955e57 There is no adjust(), so adjust adjtime(2) to adjust for adjust really
being adjtime.
2003-01-14 21:01:03 +00:00
wiz
6d8cbf7e43 descriptor with a c. 2003-01-06 12:14:26 +00:00
wiz
e3594b05a2 Drop trailing spaces; sort SEE ALSO. 2003-01-02 09:39:34 +00:00
wiz
e2c6da385c Drop trailing spaces. 2003-01-02 09:38:34 +00:00
sommerfeld
2a819818a1 In EINTR description, add a crossreference to sigaction(2).
Put reference to "slow device" back in since filesystem & disk I/O, doesn't get
EINTR while pipes, sockets, ttys, etc., can.
2002-12-30 12:38:59 +00:00
grant
9fdbbfc8ba add EINTR.
From Kevin P. Neal in PR bin/19402.
2002-12-30 05:45:41 +00:00
grant
43fecd8fa4 clarify EINTR.
From Kevin P. Neal in PR misc/19603.
2002-12-30 05:42:18 +00:00
christos
9ae526c1f6 Provide O_NOFOLLOW with compatibility with the joneses. 2002-12-06 22:39:54 +00:00
wiz
0883a2f66a Drop trailing whitespace. 2002-11-13 12:16:07 +00:00
manu
3a24fac219 Explain how WIF* macros use the status value instead of the pointer to the status value as wait() does. We use the name 'status' both as the argument to wait() and WIF* macros, this is misleading. 2002-11-12 22:48:40 +00:00
kleink
a9e83bfe48 Review oversight: ENOSR: resource -> resources, which is what the
standard says, and which fits the resource allocation failure better.
Also, bump the date.
2002-11-12 10:30:42 +00:00
skrll
b207990164 Add the missing errno symbols that are defined in IEEE Std 1003.1-2001.
The language message files need updating.

Change reviewed and OK'd by Klaus Klein.
2002-11-12 08:20:02 +00:00
thorpej
358b1841ab Make sure there is a newline at the end of CPP input. 2002-11-11 00:54:57 +00:00
jdolecek
3d73192560 struct kevent's udata is actually intptr_t 2002-11-04 22:14:46 +00:00
jdolecek
196f994fd8 use .Nx 2.0 consistently in HISTORY section
add .\" NEXTRELEASE tag before the .Nx to make it possible to quickly
  find version references in case this would need to be changed
2002-10-23 09:44:35 +00:00
jdolecek
abf732873b update HISTORY - kqueue branch was merged
bump date
2002-10-23 09:35:24 +00:00
jdolecek
be222a44cd 'data' field of struct kevent is actually int64_t nowadays 2002-10-23 09:27:46 +00:00
jdolecek
d5259d0266 make support for kqueue(2) and kevent(2) unconditional, the kqueue branch
was merged
2002-10-23 09:25:48 +00:00
jdolecek
4639b217b6 no more BUGS; EVFILT_{VNODE,READ} is supported also for other filesystems
than FFS
2002-10-13 07:37:39 +00:00
jdolecek
f28ce54243 if WITH_KQUEUE is defined and <sys/event.h> exists in DESTDIR, compile
support for kqueue(2) and kevent(2) in

this is temporary measure to ease testing of kqueue branch; the support
  will be made unconditional once kqueue branch would be merged
2002-10-12 17:41:20 +00:00
itojun
d75d1b17a8 backout previous (3rd arg type), as it does not meet with getdirentries.c.
(which standard dictates the function prototype?)
2002-10-08 05:54:05 +00:00
jdolecek
1798df2a86 COMPAT_43 getdirentries(2) actually has u_int 'nbytes' argument 2002-10-03 06:17:33 +00:00
wiz
772e37cacf argument with g, operation with e. 2002-10-02 10:42:34 +00:00
wiz
931e4cc745 corrseponding -> corresponding, filesystem -> file system. 2002-10-02 10:42:19 +00:00
wiz
038265af56 Correct various misspellings. 2002-10-02 10:36:44 +00:00
wiz
456b189823 deprecated, not depreciated. 2002-10-01 19:53:09 +00:00
wiz
a0c86ddf62 New sentence, new line. 2002-10-01 19:51:26 +00:00
wiz
19c353844e Remove some \f* cruft. 2002-10-01 19:50:36 +00:00
wiz
f6bcf9642e New sentence, new line. From Robert Elz. 2002-10-01 18:10:43 +00:00
wiz
3bee357a2d Expand abbreviation. 2002-10-01 17:35:41 +00:00
christos
54de5d06a7 Revise wording to say that setting the argument vector is not mandatory.
>xs@kittenz.org:
>susv3 agrees with this, since in the rationale, susv3 states the
>requirement of argc >= 1 was removed recently following iso c. it
>is now only a "should."
2002-09-26 12:08:10 +00:00
wiz
968f39c890 Drop trailing whitespace, and some mdoc fixes and improvements. 2002-09-25 00:55:16 +00:00
wiz
2781a62f10 Drop trailing space. 2002-09-25 00:08:00 +00:00
wiz
8b0828d5b2 Better mdoc. 2002-09-24 23:58:54 +00:00
jdolecek
e8c4ae6edb also need <sys/uio.h> 2002-09-24 20:01:43 +00:00
jdolecek
8ad8284735 add missing comma 2002-09-24 11:38:16 +00:00
jdolecek
77475e0bf4 'data' contains amount of space remaining in the write buffer also
for ttys
2002-09-24 10:29:29 +00:00
jdolecek
a64260b3ae add kqueue(2)/kevent(2) manpage to mainline, to reduce difference between
the kqueue branch and -current and thus make testing easier

change HISTORY to clearly state this interface is only available with
  experimental kernel branch
add Jason Thorpe and me to AUTHORS
update .Dd
2002-09-22 13:11:45 +00:00
christos
d90f115245 describe MNT_GETARGS 2002-09-21 18:19:30 +00:00
christos
1cb2fd8bb0 document FD_CLOEXEC from FreeBSD. 2002-09-17 21:35:37 +00:00
gmcgarry
e344fcd489 Add a disclaimer if using on a multiprocessor machine. Based on
comments by Bill Sommerfeld on tech-kern.
2002-09-15 23:05:13 +00:00
thorpej
daf4d5c635 Fix some problems using makelintstub as a cross-tool:
* Require that the path to the C preprocessor be passed in the CPP
  environemnt variable, and use it rather than hard-coding "cpp".
  Provide the target's preprocessor when invoking makelintstub.
* Fix some quoting issues that turned up with Solaris 8's XPG4 sh and sed.
* Don't use echo -n.  Instead, don't bother making the output pretty; the
  whitespace isn't supposed to be syntactically significant anyhow.
2002-09-14 03:14:14 +00:00
gmcgarry
854f689fcb Document some more errors. 2002-09-01 02:50:33 +00:00
wiz
3ec0478ba0 Whitespace, mdoc, and grammar nits. Fix an Xr. 2002-08-29 12:43:28 +00:00
gmcgarry
c4efdd0999 rasctl(2) 2002-08-28 09:31:26 +00:00
wiz
f11f240ebb -1 -> \-1. 2002-08-20 16:42:35 +00:00
wiz
777c402952 Refer setpgid, not setpgrp, since the former is POSIX and the latter is
just there for compatibility.
2002-08-20 16:30:30 +00:00
yamt
9c03214612 - write updates st_[cm]time.
- a minor fix
from openbsd.
2002-08-18 05:55:24 +00:00
yamt
8b91a33de9 add a portablility note. from openbsd. 2002-08-18 05:34:34 +00:00
yamt
b3b13795b1 bring in a note about portability from openbsd. 2002-08-17 18:41:36 +00:00
yamt
b77d0176be bring in HISTORY from openbsd. 2002-08-17 18:38:46 +00:00
yamt
514d4ffd02 note that setgid doesn't change supplementary groupids.
from openbsd.
2002-08-17 18:22:21 +00:00
yamt
572225a82f document RB_POWERDOWN.
from OpenBSD.
2002-08-17 17:52:54 +00:00
yamt
dbb4e0d985 - move return values info into RETURN VALUES section.
- note that O_SHLOCK and O_EXLOCK are not portable.
from OpenBSD.
2002-08-17 17:25:37 +00:00
wiz
03b08c2f0d Remove duplicate lines. 2002-08-12 21:52:37 +00:00
soren
6ca2d9ac81 Catch up to struct dirent. 2002-08-12 21:26:27 +00:00
soren
7b0d231778 Sort struct members. 2002-08-12 21:18:25 +00:00
soren
e4a72452ec Take formatting fixes and note about deleted files from getdents.2. 2002-08-12 21:14:12 +00:00
yamt
d536e5ccae add RETURN VALUES section.
from OpenBSD.
2002-08-11 14:44:33 +00:00
yamt
e8cb4f166c bump .Dd . 2002-08-11 14:43:52 +00:00
yamt
03664cd132 - detail protections.
- add RETURN VALUES section.
from OpenBSD.
2002-08-11 14:36:33 +00:00
yamt
1c708a4b08 bring in RETURN VALUES from openbsd. 2002-08-11 13:17:35 +00:00
yamt
e52744d883 - document generic ioctls.
- mention EFAULT.
from OpenBSD.
2002-08-11 12:40:46 +00:00
yamt
a63161243b more description from openbsd. 2002-08-11 12:22:48 +00:00
yamt
eaf49dbcad backout previous partly:
we don't check if processes are in the same session or not.
2002-08-11 12:12:54 +00:00
yamt
74b1a91d8e bring in ERRORS from openbsd. 2002-08-11 12:09:11 +00:00
yamt
906f41fac5 - include typical uses.
from openbsd.
2002-08-11 12:04:25 +00:00
yamt
731cbc6eb3 bring in warnings from freebsd via openbsd. 2002-08-11 11:46:21 +00:00
yamt
a86e2e3273 note that child should use _exit instead of exit.
from OpenBSD.
2002-08-11 10:35:48 +00:00
yamt
b09419c060 bump .Dd . 2002-08-11 10:28:23 +00:00
yamt
740bfa56b7 document a hack about setuid programs and fd 0, 1 and 2.
from OpenBSD.
2002-08-11 10:27:49 +00:00
wiz
707834f3b2 Remove an unnecessary .Ns. 2002-08-10 01:18:18 +00:00
itojun
583dd2affa bring in openbsd BUGS section (modulo some strong wording). nroff nits 2002-08-10 01:04:19 +00:00
briggs
6f6fd08e8a Add stubs to new system calls for performance monitoring interface. 2002-08-07 04:51:12 +00:00
wiz
0161d54450 Fix Fn (separate arguments). 2002-08-06 12:54:18 +00:00
soren
819df08c48 stat(2) can return ENXIO. 2002-08-02 08:08:26 +00:00
yamt
62d438e597 reflect current value of MAXSYMLINKS. from FreeBSD. 2002-07-20 17:56:28 +00:00
jdolecek
65822e1b55 Remove sa_sigaction member of struct sigaction, accidentaly added here
in rev. 1.26.
Problem pointed out by Antti Kantee.
2002-07-15 07:48:57 +00:00
wiz
0b7a1dde4c Use Fn instead of Xr to ourselves in one place. 2002-07-10 23:37:19 +00:00
wiz
f2dd6f768a Remove Xr to ourselves from SEE ALSO. 2002-07-10 23:37:03 +00:00
wiz
d0cb86c2c8 Markup improvement. 2002-07-10 22:24:32 +00:00
yamt
673cbedc13 import CAVEATS sections from OpenBSD.
with little tweak by me.
2002-07-10 14:37:12 +00:00
thorpej
c061e6bf8b Enable the libc-provided signal trampoline. The old __sigaction14
entry point has been replaced by the new __sigaction14() which is a
wrapper around the __sigaction_sigtramp system call (which is itself
not directly exposed outside of libc).

No shared library version change is necessary; no new symbols
are exposed outside of libc.
2002-07-10 04:29:05 +00:00
bjh21
fcbf1cae9e Mention lchflags in the NAME section. 2002-07-07 14:59:49 +00:00
wiz
0f085a5188 Add Xrefs to ipcs(1) and ipcrm(1). 2002-06-16 22:39:32 +00:00
christos
1d4eb17d96 Remove the cross reference of fileno(3). It is more appropriate to
cross reference this from fopen(3). After discussion with John Heasley
in PR/17224.
2002-06-13 18:02:38 +00:00
wiz
e2451b5981 Add Xr to fileno(3), as request in lib/17224. 2002-06-12 09:20:48 +00:00
wiz
143cf52f81 __STDC__ is always defined on NetBSD. 2002-05-26 16:53:30 +00:00
wiz
44086ebfde Remove duplicate that. lib/16849 by John Heasley. 2002-05-16 21:23:31 +00:00
wiz
d30d25dc1a Spelling fixes, from Sergey Svishchev in kern/16650. 2002-05-12 15:48:36 +00:00
simonb
eb0846961e Remove <sys/types.h> from synopsis, as per latest SUS/Posix specs. 2002-04-29 01:41:43 +00:00
nathanw
cb713e892d The PT_IO operations are named PIOD_{READ,WRITE}_{I,D}, not
PIOD_OP_{READ,WRITE}_{I,D}.
2002-04-06 04:07:13 +00:00
jdolecek
a4f9b6e45e s/are are/are/ 2002-04-01 11:19:41 +00:00
thorpej
8295f2e0b4 Document PT_IO. 2002-03-17 17:14:58 +00:00
wiz
a50cd7c5cd Add SYNOPSIS. 2002-03-06 14:25:42 +00:00
tv
d26369c142 Historic typo: "unfo" -> "undo" 2002-03-05 21:29:32 +00:00
ross
dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
ross
814f296b77 Generate <>& symbolically. 2002-02-07 07:00:09 +00:00
fair
94125ab8df Add a reference to dir(5) per PR 14291 2002-02-03 08:05:12 +00:00
wiz
44a7a8492a Whitespace nit. 2002-01-31 00:21:31 +00:00
simonb
346fc0519d Implement the CLOCK_MONOTONIC clock for the posix/opengroup realtime
clock_() functions.  This simply returns the kernel mono_time variable.
As discussed on tech-kern.
2002-01-31 00:13:07 +00:00
ross
c9774e0427 Note #include <unistd.h> in SYNOPSIS 2002-01-30 09:22:48 +00:00
tv
128278661c Don't even put Lint*.c in DPSRCS if MKLINT=no. 2002-01-29 19:01:18 +00:00
simonb
89b7d6e768 Fix tyop, noticed by Allen Briggs. 2002-01-26 15:04:16 +00:00
thorpej
ac8c1c29e9 * Add WSYSCALL() to SYS.h, which creates a system call with an
internal name and a weak alias for the name.
* Add a WEAKASM syscall list, and process it.
* Make sysarch() have an internal name (_sysarch()).
2002-01-14 00:55:55 +00:00
yamt
72f7deb4ee fix a typo.
(syper -> super)
2002-01-12 02:11:03 +00:00
christos
59e608be9f document that ptrace() will return EAGAIN if the process that we are trying
to ptrace is currently in execve().
2002-01-11 21:17:30 +00:00
wiz
f8f6c72444 Improve grammar. 2002-01-04 01:31:10 +00:00
jdolecek
b3b35b86aa Add a note that POLLIN event is returned rather than POLLHUP when
remote end of a socket is closed.
Adresses kern/5486 by Ignatios Souvatzis.
2002-01-03 22:18:09 +00:00
tron
d3de7d0eb7 Reference variable "ap" in lint dummy code to avoid warning about
unnecessary assignment.
2002-01-03 16:13:11 +00:00
thorpej
9e65d921df Don't assign semun if __lint__. 2002-01-03 01:55:49 +00:00
manu
8429e82f30 - Changed clocktl interface to use syscallargs structures
- Implemented keep-state so that we don't have to open /dev/clockctl each time.
2001-12-09 16:11:45 +00:00
ross
c73d16d227 grammar 2001-11-29 23:00:43 +00:00
jdolecek
14f44ebcdd comment out the STANDARDS section for now 2001-11-24 02:40:05 +00:00
wiz
147717c2f0 Two punctuation-vs.-macro improvements, and a grammar fix. 2001-11-23 20:21:49 +00:00
jdolecek
1c36ca124c document new error cases
state standard conformancy - besides RLIMIT_AS (which is not supported
currently), getrlimit()/setrlimit() conform to SUSv2
use more standard description cookie for error return in RETURN VALUES
mention also ulimit of sh(1), besides limit of csh(1)
2001-11-23 19:50:13 +00:00
jhawk
62d68d1c31 Grammar nit from 1.14.
Dd from 1.5.
2001-11-23 19:23:43 +00:00
jdolecek
ac3668b158 remove the list of Berkeley-specific signals from STANDARDS
section, the whole list is available in signal(7)
2001-11-23 18:19:42 +00:00
christos
66a8284d66 mention that we ignore negative fds. 2001-11-14 18:48:11 +00:00
tv
7df9c95b77 Only put LintSys*.c in DPSRCS; the others are static files. 2001-11-13 19:16:41 +00:00
tv
c750bb2e19 Clean up a little more (DPSRCS already goes in CLEANFILES; reduce
redundancy of DPSRCS).
2001-11-13 18:57:47 +00:00
tv
75b1d2a008 No need for the .for in this case (holdover from earlier noncommitted
version of the simplification).
2001-11-13 18:46:17 +00:00
tv
68e6fca807 Make this match the new .S extension of syscalls. 2001-11-13 18:39:10 +00:00
tv
f4381c7fc4 Make previous a bit cleaner, too: just refer to all these files by the
.S extension; no need to do all the :.o=.S transforms.
2001-11-13 16:03:53 +00:00
tv
c22bb3e6fb Fix backslash typo in previous. 2001-11-13 15:20:34 +00:00
tv
2eb12ec596 Make the generation of syscall stubs a lot more reliable by generating real
`.S' files and letting <bsd.sys.mk> and <bsd.lib.mk> compile them like every
other .S file.  The compilation options passed to ${CC} are still correct.

Also make sure LintSysPseudoNoerr.c gets removed on "make clean".
2001-11-13 15:12:01 +00:00
kleink
ed4867ab7e Reduce the ties to `inode'. 2001-10-23 09:26:59 +00:00
mycroft
78cb33d965 Should have done this years ago...
Add a warning about the separability of the PROT_* flags.
2001-10-23 02:10:23 +00:00
kleink
38c46d1f11 Sprinkle some __restrict into <sys/socket.h>. 2001-10-22 20:59:02 +00:00
kleink
481b132673 Remove inclusion of <sys/types.h> from synopsis; it is no longer needed. 2001-10-16 20:09:59 +00:00
wiz
bc1b53873f Boring whitespace or punctuation fixes. 2001-10-16 16:08:55 +00:00
kleink
4d9619365d Clean up synopsis somewhat:
* only associate S/G interfaces with <sys/uio.h> (and only that header);
* drop <sys/types.h> entirely, as it is no longer needed.
2001-10-16 16:03:35 +00:00
sommerfeld
40dd2b9373 Clarify that you may get a signal instead of EFAULT. 2001-10-02 02:55:41 +00:00
thorpej
a46d6c9e4f Need string.h for memcpy() prototype. 2001-09-17 23:52:14 +00:00
thorpej
836962fe0b Need string.h for memcpy() prototype. 2001-09-17 23:42:09 +00:00
thorpej
bb80a7f9fc Pull in <string.h> for memcpy() prototype. 2001-09-17 23:32:33 +00:00
tsutsui
a50a963c06 Include string.h for memcpy(). 2001-09-17 14:25:43 +00:00
manu
54c0ce6119 Added support to use the clockctl driver if present for adjtime(),
clock_settime(), ntp_adjtime() and settimeofday(). The super-user still
always use the plain system call.
Approved by Christos
2001-09-16 07:41:56 +00:00
wiz
53d84b5c61 Sort sections, sort SEE ALSO, punctuation and miscellanous fixes. 2001-09-16 02:13:26 +00:00
wiz
dfcfff97f3 Boring whitespace fixes. 2001-09-16 01:38:59 +00:00
christos
3282ceb944 Add __clone.S
XXX: This breaks the x86_64 port. Frank are you there?
2001-09-08 00:55:00 +00:00
wiz
a957c5e39e Follow a hint by Simon Burge (first part of diff), and comment in
a xref to hz(9) now that it exists (second part).
2001-09-07 23:46:03 +00:00
wiz
728ad2926a Add ntp_adjtime(2) and ntp_gettime(2) man page. 2001-09-06 00:18:18 +00:00
simonb
7e448d13f5 Don't need <sys/types.h> or <sys/time.h> before <sys/resource.h>.
References: SUSv2
2001-09-01 02:01:48 +00:00
mjl
78c9e69530 Fix typo mentioned in OpenBSD PR/2032 2001-08-25 23:05:43 +00:00
thorpej
4177d25e14 Build __clone.S, the Lint stubs, and the manual pages.
Yes, I know now all ports have a __clone() stub yet, but this
will force the issue -- they don't get to build their libc until
they implement it.

Implementers are encouraged to use the regression test for it
in src/regress/lib/libc/clone.
2001-07-18 23:03:10 +00:00
thorpej
511c17cad8 Fix the declaration of the funciton in the SYNOPSIS section. 2001-07-18 19:29:40 +00:00
thorpej
743cf39656 Document WALTSIG (and __WCLONE) and WALLSIG (__WALL). Restructure the
options documentation to make it easier to read.
2001-07-18 19:12:21 +00:00
thorpej
badb94abdb Document CLONE_VFORK and note that we also do not implement CLONE_PTRACE. 2001-07-17 21:16:52 +00:00
thorpej
4e8fc6ae38 Lint stubs for clone(2). 2001-07-17 03:05:43 +00:00
thorpej
f6459c8fab Manual page for clone(2). 2001-07-17 03:05:31 +00:00
lukem
dfaec93e4e move to kqueue branch for now 2001-07-10 11:59:50 +00:00
skrll
f589848c0d grammar. 2001-07-09 12:07:08 +00:00
lukem
6d8fbc3899 freebsd kqueue implementation 2001-06-28 08:01:35 +00:00
mrg
4091ab9fbd note the SWAP PRIORITY section in swapctl.8 2001-06-07 15:23:48 +00:00
wiz
c8c8cf7a24 NetBSD -> Nx 2001-06-05 13:18:47 +00:00
jdolecek
16624f841d Use EAGAIN instead of EWOULDBLOCK. The actual numeric value is
same, but EAGAIN is the posixly correct name.
Addresses misc/12960.
2001-05-19 17:23:39 +00:00
matt
26d18c845b replace return with rename (from Bruce Korb). 2001-05-17 23:45:24 +00:00
kleink
f020111f1c Document l_type usage explicitly; fixes PR misc/10325. 2001-05-05 19:48:04 +00:00
simonb
a69a3cc5ec Spell occurred correctly. 2001-04-25 02:19:48 +00:00
wiz
84f7b205e2 Dummy commit to kill -kk. 2001-04-23 23:02:10 +00:00
kleink
950c0fd37b Document fchroot(2). 2001-04-18 08:28:10 +00:00
mrg
a655930206 expand on swap priorities, xref new section in swapctl(8). PR#12610. 2001-04-11 14:18:30 +00:00
wiz
daf7c82a00 Remove reference to nfsiod(8), which is long gone. 2001-04-09 19:55:52 +00:00
wiz
086fe0f436 Whitespace. 2001-04-09 12:17:35 +00:00
wiz
ff9338b919 Fix date, and some whitespace. 2001-04-09 12:17:16 +00:00
wiz
9ae930ee53 getrlimit(2), not (3) 2001-04-09 12:16:54 +00:00
wiz
0ddda8637f getmntinfo(3) not (2) 2001-04-09 12:16:36 +00:00
pooka
b8116b5540 make prototypes match reality found in <sys/ktrace.h> 2001-03-18 21:51:11 +00:00
fair
fdd13acbc4 Correct typo in ERRORS, and document that getdents(2) can return
directory entries that refer to deleted files, all per PR 10567.
2001-03-16 07:58:24 +00:00
fair
bee514872a Added the following text to answer PR 7249:
The manual page for each system call will list some of the
	common errno codes that system call can return, but that
	should not be considered an exhaustive list, i.e.  a properly
	written program should be able to gracefully recover from
	any error that a system call might return.  Documenting
	all the error codes that a system call can return in a more
	specification-like manner would take more resources than
	this project has available.
2001-03-16 06:56:48 +00:00
fair
4ca39aa709 Add a description of the special kernel thread "ioflush" to the "special
processes" section, per PR 10912. While we're here, clean up nroff nits,
like spaces at the ends of lines.
2001-03-13 03:24:13 +00:00
wiz
3da563eb15 Fix typo reported by Geoff C. Wing in pkg/12369. 2001-03-10 12:57:02 +00:00
itojun
bf46c79fa7 add ECONNABORTED. 2001-02-07 12:50:15 +00:00
jdolecek
ced1de21ce It seems utrace(2) actually appeared in FreeBSD 2.2, not 4.0 according
to FreeBSD CVS logs
2001-01-24 23:43:43 +00:00
augustss
9b388c5b09 Document a weird circumstance under which stat() return EBADF. 2001-01-09 20:45:10 +00:00
mycroft
ae430e05be Update the date. 2001-01-05 23:31:39 +00:00
mycroft
4f5554fa22 Update the date. 2001-01-05 23:31:16 +00:00
mycroft
0dbdbcab93 Mark these as deprecated, and correctly an error in the HISTORY section. 2001-01-05 23:29:42 +00:00
jdolecek
c8ff0e782d document KTR_USER_MAXLEN limit 2001-01-05 22:28:41 +00:00
jdolecek
f43afc04fe add utrace(2) 2001-01-05 21:49:47 +00:00
matt
44e25a6200 Add __syscall.S back to sys/Makefile.inc. Remove from arch/i386/gen/
Makefile.inc.  If your architecture doesn't have __syscall.S, *add it*.
2000-12-13 07:42:47 +00:00
simonb
0e35eedd7e Move __syscall.S to the arch specific Makefile.inc's where it is
implemented.
2000-12-12 22:38:42 +00:00
briggs
c6ba879207 Add a cross-reference to ftok(3). 2000-12-12 16:47:05 +00:00
mycroft
731305d114 Handle __syscall() in user-level code for i386. 2000-12-10 21:27:37 +00:00
wiz
efaced1f8c fix typo 2000-11-21 23:35:10 +00:00
mrg
2d1d6239e4 document SWAP_DUMPDEV & SWAP_GETDUMPDEV. 2000-11-17 11:40:05 +00:00
lukem
279552d3db fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
  e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
  using `.Nm ""' if there's stuff following, or for the 2nd and so on
  occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
erh
a5c46ce842 Document the PROFDIR environment variable. 2000-10-24 19:31:59 +00:00
toshii
4acc4fc7fe lfs_bmapv -> lfs_markv 2000-10-09 09:34:00 +00:00
nathanw
76bc7abc93 Use ".Fa stat" instead of ".Fn stat" when referring to the structure
rather than the function.
2000-10-07 16:48:24 +00:00
jdolecek
f5cb6bbd84 update(8) is gone, put in some info about ioflush
this addresses bin/11141 by Nick Hudson
2000-10-06 19:54:26 +00:00
jdolecek
a69cc94b83 kill references to update(8), it doesn't exist any more
this addresses bin/11141 by Nick Hudson
2000-10-06 18:53:28 +00:00
ad
5b09090e8e insure -> ensure 2000-10-05 12:35:33 +00:00
is
6c614a3f1d Document EPERM. 2000-09-28 09:46:17 +00:00
kleink
82fd76bb06 Need an internal name for pipe(2). 2000-09-28 08:38:53 +00:00
nathanw
42782db512 Note that we do support single-stepping, as a machine-dependant feature.
Don't be SPARC-specific about what features we support. Document how
to determine which requests are supported.
2000-09-27 22:31:43 +00:00
erh
52aa56b72d Mention additional restriction on ptrace: you can't ptrace system processes since the assumptions made for normal processes don't always hold (such as p_pptr is non-NULL). 2000-09-24 07:34:15 +00:00
wiz
9773bf4a73 Whitespace fix, noted by John Hawkinson. 2000-08-04 20:03:07 +00:00
wiz
be8ff811b7 Rename VM_INHERIT_* to MAP_INHERIT_* and move them to sys/sys/mman.h as
discussed on tech-kern.
Retire sys/uvm/uvm_inherit.h, update man page for minherit(2).
2000-08-01 00:53:07 +00:00
jdolecek
46c49082de parameters addr & data are actually treated same way
for PT_DETACH and PT_CONTINUE - the only difference between them is that
the child is detached from the parent for PT_DETACH
2000-07-27 21:40:09 +00:00
kleink
f51ea2882c KNF. 2000-07-14 07:36:32 +00:00
kleink
f4e264e3d5 Add a name description as well. 2000-07-10 06:44:35 +00:00
enami
bf53880ad5 Create link to lchflags.[02]. 2000-07-08 00:53:39 +00:00
itohy
af83a97717 Add special treatment of shmat(2).
On m68k ELF calling standard (__SVR4_ABI__), if a function
returns a pointer, the return value should go to a0 as well as d0.
2000-07-07 08:20:50 +00:00
fair
1513bd135d Add a proper DESCRIPTION to the man page, per PR 10072. 2000-07-07 05:18:49 +00:00
he
c8607653d2 Add text that says that an interpreter cannot itself be an interpreter
file.  Inspired by Solaris manpage and the current NetBSD implementation
as observed with the scotty package and attempts to use the earlier shell
wrapper as an interpreter.
2000-07-05 12:42:09 +00:00
sommerfeld
1b2871e3d0 bin/10472: fix a couple typos in stat.2 2000-06-29 03:26:57 +00:00
mrg
a461faa506 <vm/vm_param.h> is now <uvm/uvm_param.h> 2000-06-27 09:10:24 +00:00
kleink
d42527e7a6 Finally nuke <sys/types.h> from SYNOPSIS. 2000-06-26 17:00:01 +00:00
assar
2e4e513a5a add documentation of `shmflg'
See PR bin/10431
2000-06-26 15:46:03 +00:00
kleink
b8a4d7adf9 Need an internal name for fork(). 2000-06-26 06:32:54 +00:00
kleink
0ef9e4a214 De-delint. 2000-06-26 06:29:12 +00:00
wiz
2177438bb2 punctuation fix (. -> ,) 2000-06-25 22:37:30 +00:00
sommerfeld
8bb74cfdd7 Explain what this function actually does 2000-06-25 16:28:41 +00:00
kleink
03f996bd0c Add internal names for brk() and sbrk(). 2000-06-23 15:40:36 +00:00
hubertf
159bc2d0e5 s/the/The/ at beginngin of sentense. 2000-06-21 02:30:37 +00:00
hubertf
73fc291634 Merge duplicate mentions of EPERM, EACCESS, ... into one entry
(where applicable).
2000-06-17 19:33:34 +00:00
cgd
db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +00:00
cgd
d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
lukem
317449a3dc fix typo 2000-06-09 14:02:21 +00:00
nathanw
44145e574e Fix incorrect uses of indicate/indicates/indicated for each other. 2000-06-07 19:47:57 +00:00
hubertf
914468cda3 s/a // 2000-06-02 21:21:41 +00:00
jdolecek
dfe35a4788 quotas are supported on lfs too, apparently 2000-05-29 21:57:05 +00:00
jdolecek
07506ce5eb update to match current common implementation on NetBSD - [f]truncate()
normally lengtens the file if it's shorter than specified length
also change wording slighly, to match wording in SUS

XXX someone should check how much of SUS truncate(2) specification is true
XXX on NetBSD and update this manpage accordingly
2000-05-28 09:41:52 +00:00
perseant
7438415348 Add man pages for LFS syscalls 2000-05-24 21:54:59 +00:00
itojun
273595e782 add PF_INET6. 2000-05-22 05:06:20 +00:00
fair
098894016b A little nroff clean up, since I was here to deal with PR 9727,
but someone beat me to it, and didn't log that...
2000-05-17 10:24:13 +00:00
soda
91c450a0e1 ARG_MAX is bumped from 20KB to 256KB since Jan 16 1994 (revision 1.7 of <sys/syslimits.h>). i.e. before NetBSD-1.0 release.
pointed out by NAKAJIMA Yoshihiro and Tanaka Akira on fj.os.bsd.netbsd newsgroup.
2000-05-08 10:15:17 +00:00
minoura
8bffa1abc1 issetugid(2) manpage. 2000-04-21 16:39:23 +00:00
minoura
52de0c47aa FreeBSD's issetugid(2) manpage. 2000-04-21 16:35:05 +00:00
minoura
599d65f132 New syscall issetugid. 2000-04-21 16:24:22 +00:00
mrg
a6f7a7855f implement lchflags(2), which does the chflags(2) dance without following
symlinks, and thus can operate on symlinks.  remove a bogus comment in
chflags(1) that claims symlinks do not have file flags.

XXX: todo -- make chflags(1) use lchflags(2) when given the right options.
2000-04-17 14:31:21 +00:00
tsarna
a32696c2de Death to nfsiod!
It is replaced by kernel threads that do the same thing. The number of
kernel threads used is set with the vfs.nfs.iothreads sysctl.
2000-04-15 21:14:48 +00:00
simonb
e28dc2c70b We return EIDRM if the msg queue is removed, not EINVAL. 2000-04-12 13:03:52 +00:00