Commit Graph

629 Commits

Author SHA1 Message Date
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