Commit Graph

752 Commits

Author SHA1 Message Date
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
fvdl bfb0ad4a93 Clarify that page alignment only happens for the internal, kernel notion
of the break value.
2000-04-04 08:41:45 +00:00
kleink 7e35a43e67 In mmap(), bail out with EOVERFLOW when mapping a regular file and the file
offset plus mapping length cannot be represented in an off_t.
2000-03-28 18:45:19 +00:00
kleink 69043b3644 Note EILSEQ. 2000-03-14 19:14:29 +00:00
kleink c9b0caf509 Sync the description of errno with reality; fixes PR lib/9496. 2000-03-14 19:11:24 +00:00
soren 89c5a767f8 Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
enami 6e362668c4 Note that this system call now creates kernel thread. 2000-03-10 01:34:35 +00:00
enami 823f836758 Document some recently added user visible mount option. Addresses PR#6577.
While I'm here, I reorderd SEE ALSO section properly.
2000-03-06 09:11:14 +00:00
enami f8796b1a66 Remove reference to config(8) from SEE ALSO list. 2000-02-28 14:32:53 +00:00
enami 61b07296fe With SEE ALSO list, add swapctl(2) and swapctl(8) and remove config(8). 2000-02-28 14:30:54 +00:00
enami 354b4bc5c1 Sync wi/ reality. 2000-02-28 14:21:46 +00:00
christos f9be3e6b20 Explain why we don't want to pass structs and unions to syscalls, and
how to find the proper args for a syscall.
2000-01-31 15:15:07 +00:00
christos 618e1b5628 Add a userland stub to do the union semun -> union semun * redirection. 2000-01-31 15:14:19 +00:00
itojun e5a959ce39 EINVAL may be returned when address family mismatches. (from openbsd) 2000-01-26 10:43:36 +00:00
mycroft 605490369c Delint.
Remove trailing ; from uses of __weak_alias().  The macro inserts this if
needed.
2000-01-22 22:19:07 +00:00
mycroft e568b4cf30 Delint. 2000-01-22 21:19:29 +00:00
ad 902637d2e4 swapctl(SWAP_OFF, ...) now works. 2000-01-13 12:11:30 +00:00
tron eec7b963e1 Correct typo reported by Jens Nilsson in PR misc/9069. 1999-12-29 21:19:36 +00:00
mjl 67b9836fda Fix typo. 1999-12-28 02:51:17 +00:00
msaitoh 3b476f4adb use .Er 1999-12-11 19:35:48 +00:00
kleink 15be242b3a Add a LIBRARY section to system call manual pages. While it's clear that the
libraries contain stubs only (with minor exceptions a la pipe(2)), the purpose
of this section is to provide linkage information.
1999-12-02 21:42:35 +00:00
lukem e0c4130ae6 use .Fn appropriately 1999-11-07 01:26:02 +00:00
is cff7bedd54 Actually profile system calls.
Problem and most of the fix reported by Anders Hjalmarsson in PR 4976; libposix
mentioned by Chris G. Demetriou.
1999-10-27 14:58:28 +00:00
erh 4cb911b098 Add ENXIO error for FIFOs. 1999-10-21 19:40:22 +00:00
jdolecek 1baa9b08ef remove the list of signals and xref signal(7) instead 1999-10-06 17:17:26 +00:00
jdolecek 7db4bda538 xref signal(7) 1999-10-06 17:16:56 +00:00
jdolecek 1124973cb5 Add SEE ALSO section and xref sigaction(2) and signal(7) 1999-10-06 17:14:55 +00:00
jdolecek edf12166ba xref signal(7) 1999-10-06 17:14:02 +00:00
bouyer 510907ed01 Document CTL_PROC, the core filename format it core(5), and xref sysctl(8),
sysctl(3), core(5) in various place.
Document 'options DEFCORENAME' inj options(4) and $defcorename in rc.conf(5).
1999-09-28 14:52:32 +00:00
jdolecek 8eb5a4184d xref symlink(7) 1999-09-26 21:18:53 +00:00
jdolecek 7d96f3efd3 xref symlink(7) 1999-09-26 21:00:25 +00:00
sommerfeld 4a22cb272c Correct the reference to the current value of MAXLOGNAME to reflect reality 1999-09-24 19:55:15 +00:00
thorpej df6731425c Update for XSH5. 1999-08-25 21:12:54 +00:00
thorpej 72b1756c5a Update for XSH5. 1999-08-25 20:55:35 +00:00
thorpej e9fc9322cc Update for XSH5. 1999-08-25 20:30:05 +00:00
thorpej 30dca7f7db Add __msgctl13(), __semctl13(), and __shmctl13() (symbols are __RENAME()'d
in their respective header files).  Add PSEUDO stubs for the old versions
of these system calls.

Note that __semctl13() doesn't require the extra stub that the old
semctl()/__semctl() did, as the SUSv2 version takes variable arguments,
and thus does not require the extra indirection.
1999-08-25 05:09:27 +00:00
mrg 62db67a0e1 add a note that these requests were ignored in pre-1.5 1999-08-24 08:58:54 +00:00
tron 04cfded216 Revert last change after Ross Harvey fixed "mandoc". 1999-08-23 21:22:27 +00:00
tron d483ef81c6 Use correct "mandoc" macro for concatenating "or" and "ing".
Fixes PR misc/8236 by "Wiz".
1999-08-23 21:12:55 +00:00
ross 2dfc8c4533 Note that nice +19 and nice +20 guarantee exclusion w.r.t. priority <= 0. 1999-08-20 19:58:20 +00:00
sommerfeld a1caf9578c Fix PR8208, this time to the correct location.. 1999-08-18 19:46:00 +00:00
is b9243cdc97 repair edito in BUGS session. 1999-08-16 14:10:06 +00:00
enami 2d400d39d4 Copy the definition of MADV_FREE from sys/mman.h. 1999-08-16 07:55:20 +00:00
christos acef34de33 Add note that only the super-user may set or reset any flags on block
and character devices. [Commit by cjs.]
1999-07-31 03:30:44 +00:00
perry 72ec01bc0e Restore some information about the page rounding behavior of these
functions, with a little bit of a caution that the page rounding
behavior isn't mentioned in standards documents that mention brk/sbrk.
Klaus removed this before, but I'm not sure why, and I've been unable
to reach him about the matter after trying for several days. The
information about the behavior has always been in the page and is
important for developers to know about.
1999-07-14 16:24:48 +00:00
kleink e79a283e47 XSH5: change function signature to `void *sbrk(intptr_t)'. 1999-07-12 21:55:19 +00:00
kleink d6127eeb14 Remove a paragraph from previous. 1999-07-12 14:51:10 +00:00
perry 0c91d3d222 Note that you can find out the system page size with sysconf(3). 1999-07-09 14:41:26 +00:00
perry f31cd6341c note in BUGS that the prototype of our sbrk is not standards compliant
and will need fixing.
1999-07-06 23:12:04 +00:00
perry eeebdec53e Clean up this mess a lot. I believe we still have the following
issues (at least):

1) sbrk is defined as returning char *, which violates XPG
2) I'm not clear on what happens if you try to sbrk() on a negative
incr that is less than the page size. I'm guessing "nothing", but we
should document this behavior.
3) XPG says some interesting things about whether new pages are
guaranteed zeroed. We say nothing about this. We should document our
behavior.
4) It isn't clear if *we* guarantee that malloc and sbrk can be mixed
in our API (I've documented that it isn't universally portable.)

We really should clean these up, too.
1999-07-06 16:36:15 +00:00
darrenr b1319ee5b3 EOPNOTSUPP was incorrectly spelt as EOPNOSUPPORT
add ENFILE to list of errors.
1999-07-06 14:39:56 +00:00
sommerfeld 311927221b Build system call stubs using system includes from ${DESTDIR}/usr/include
if DESTDIR is set.
This allows you to build a working libc which include syscall stubs
for new syscalls not defined in /usr/include/sys/syscall.h
1999-07-04 15:46:10 +00:00
wrstuden 1d74ac18fa Give fhopen, fhstat, and fhstatfs a man page. 1999-06-30 01:32:14 +00:00
wrstuden e401af6e26 Add fhopen, fhstat, and fhstatfs syscall stubs. 1999-06-29 22:22:06 +00:00
sommerfeld 8f37bce679 fix PR/7855 1999-06-26 04:12:45 +00:00
tron adb46f40b2 Add missing reference to setsockopt(2) to "SEE ALSO" section. 1999-06-24 20:16:31 +00:00
thorpej 9b9494844a MCL_FUTURE is now implemented. 1999-06-18 05:37:30 +00:00
thorpej 01d1ebf115 Note that MCL_FUTURE is not yet fully implented in the BUGS section. 1999-06-16 23:32:17 +00:00
thorpej 9fdf52a910 Note POSIX 1003.1b-1993. 1999-06-16 23:30:28 +00:00
thorpej 6cb6c24690 The (incorrect) nesting behavior of mlock(2) no longer exists. 1999-06-16 23:14:59 +00:00
thorpej 694cc23026 Add mlockall(2)/munlockall(2). 1999-06-15 23:31:19 +00:00
thorpej e479f407c4 Fill out the mincore(2) manual page a little; define the NetBSD call
to be like the Solaris call.
1999-06-07 01:42:30 +00:00
kleink c5dce7b8ff Note that an EFAULT condition cannot be guaranteed to be detected (i.e. in the
MD implementation of pipe(2)); addresses PR kern/7720.
1999-06-06 22:50:26 +00:00
ross c034f9952a See the incredible, morphing, fcntl(2) parameter #3 change again!
This time, it actually matches the prototype and the 1003.1 definition.
1999-05-24 23:06:00 +00:00
sommerfe db94801270 s/sigstack/sigaltstack/ in ERRORS section 1999-05-12 18:42:43 +00:00
christos 9d88908dad use a local vfork declaration to avoid symbol renaming. 1999-05-04 13:53:11 +00:00
ross 1ba353b02e Spelling. 1999-04-26 04:10:35 +00:00
kleink 28904498f5 Fix incorrect reference in ERRORS section; from Paul Wain in PR misc/7405. 1999-04-17 10:15:34 +00:00
kleink 6896db3b93 Remove duplicate section header; from NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>
in PR lib/7320.
1999-04-09 14:11:57 +00:00
cgd b22750720f change:
.Sh "SEE ALSO"
to:
	.Sh SEE ALSO
The doc macros check for the latter (actually just for 'SEE' as the first
argument to .Sh) to set the section header SEE ALSO flag, which modifies
some behaviour (e.g. references done with .Rs/.Re).
1999-04-06 04:54:19 +00:00
sommerfe d70c7c2004 Document new chroot-related restrictions on fchdir, chroot, and ptrace
made possible by the kernel getcwd infrastructure
1999-03-26 23:37:27 +00:00
perry d4076f1ce9 argument is void *, not char * (at least, to the extent that it is a pointer. 1999-03-25 18:48:16 +00:00
perry 3601ed9448 fix to note that arg is void * but is used by some commands as an int 1999-03-25 18:37:06 +00:00
mycroft 1b0b50098d Fix a few things that were out of date or just plain wrong, and clean up some
formatting glitches.
1999-03-24 16:36:10 +00:00
hubertf eb5057aab5 Better explain possible EBADF causes.
Patches submitted by Greg A. Woods <woods@planix.com> in PR lib/7206.
1999-03-24 13:40:51 +00:00
mycroft 68d6f4bf44 Remove spurious .ne's. 1999-03-24 06:27:49 +00:00
lukem 0a10e5dd4b document new bind() restrictions 1999-03-23 10:59:11 +00:00
garbled 38c96853cf Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Wheee!
1999-03-22 19:44:33 +00:00
kleink 61c3516908 Introduce _PC_FILESIZEBITS. 1999-03-22 19:14:22 +00:00
kleink 29fc254df0 Bump the date. 1999-03-22 19:11:16 +00:00
kleink 4d282292e2 Introduce EOVERFLOW. 1999-03-22 19:03:38 +00:00
sommerfe 60a179e6aa Build fchroot and __getcwd syscall stubs 1999-03-22 17:56:42 +00:00
mrg 32783bf7e7 -> <sys/swap.h> 1999-03-18 04:48:03 +00:00
kristerw c068cca51b EACESS -> EACCES. From OpenBSD. 1999-03-14 20:15:40 +00:00
hubertf 4e308589b1 Fix RB_STRING, per PR 7147 by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> 1999-03-14 01:30:16 +00:00
kleink 65a39c939e Sync with declaration in <unistd.h>. 1999-03-10 09:52:54 +00:00
kleink 1f173d29a8 Fix a .Fa vs. .Fn bogon, and clarify somewhat. 1999-03-09 20:35:18 +00:00
kleink e2a4add9f7 brk(2) actually returns an int indicating success (0) or failure (-1). Also,
change its argument to void *.  (Both XSH5).
1999-03-09 20:33:22 +00:00
erh bdfd2b2770 Add missing .El lines. 1999-03-09 19:45:09 +00:00
ross 53dc7656a3 More missing .El's. 1999-03-09 03:58:14 +00:00
ross baa8fc090f Missing .El.
Rewrite cheap .Bd -literal as a nice .Bl -column.
1999-03-09 03:49:46 +00:00
ross 0f9d1274e7 Missing .El. 1999-03-09 03:37:41 +00:00
drochner 08a728a40a fix a number of pastos (msgflg where semflg is meant) 1999-03-06 11:56:53 +00:00
drochner a34eb7c1b7 use ${ARCHDIR} instead of ${.CURDIR}/arch/${MACHINE_ARCH} where appropriate
libc builds on pmax again
1999-02-24 15:05:20 +00:00
erh 61d310601b Add the section number to the poll xref. 1999-02-18 00:58:49 +00:00
kleink df15a294f2 Dv vs. Va police. 1999-02-16 19:36:52 +00:00
carrel 9933831d6d use clock_settime.2 not clock_settime.c in MAN 1999-02-11 20:42:49 +00:00
kleink dd608c4189 Oops, forgot a word. 1999-02-11 15:22:54 +00:00
kleink 8c809f7e03 Document clock_settime(2) and friends. 1999-02-11 15:20:47 +00:00
kleink 710170a1d2 Reflect the addition of socklen_t. 1999-02-10 18:20:02 +00:00
is 87987d1d4d Fix typo 1999-02-08 11:13:14 +00:00
tron 441c7a826d On suggestion by Brian C. Grayson explain more detailed when [ENOENT]
will be returned.
1999-01-04 00:31:52 +00:00
tron 593de752d4 Mention that symlinks don't need to point to an existing file or
directory as suggested by Brian Grayson in PR misc/6711.
1999-01-02 16:05:26 +00:00
is 4ea0892d30 mention poll(2) 1998-12-11 22:35:32 +00:00
christos e2695fedf7 Not -1, (uid_t)-1 and (gid_t)-1 1998-12-09 15:02:12 +00:00
abs 6381de4c64 Add links to getmntinfo(3) and getfsstat(2) 1998-12-07 05:17:53 +00:00
thorpej 58e61001ec Warn about references to the compatibility stat(), fstat(), and lstat(),
and direct the user to include <sys/stat.h> to generate the correct
reference.
1998-12-02 19:47:45 +00:00
thorpej 6f91c82be7 Warn about references to the compatibility msync(), and direct the user to
include <sys/mman.h> to generate the correct reference.
1998-12-02 19:37:50 +00:00
christos 8cc3f31582 delint 1998-11-15 17:21:49 +00:00
kleink abc6d45e5c Need "namespace.h". 1998-10-14 11:56:28 +00:00
kleink dc86984b00 Need internal names for ftruncate(), lseek(), mmap(), pread() and pwrite(). 1998-10-14 11:25:18 +00:00
hwr 92c0c6e35b Fixes kern/6216 by me. 1998-09-30 14:03:06 +00:00
thorpej ebf8ba9c52 These are no longer needed. 1998-09-29 21:52:10 +00:00
christos d5eb9fa908 Adapt to the new signal changes. 1998-09-26 23:58:14 +00:00
christos 4efafd6886 Add NOCLDWAIT documentation. 1998-09-18 18:41:23 +00:00
mrg 56b9b43fe0 <vm/vm_swap.h> -> <sys/swap.h> 1998-08-29 17:11:09 +00:00
mrg b3159ade4d - update for se_path member.
- while i'm here, document the swap flags, and also add (short) descriptions
  of each of the swapent members.
1998-08-29 15:53:11 +00:00
lukem ce83c69e00 first pass at fixing up capitalization of function names and
arguments; ensure that each is correct with respect to the
implementation, rather than being correct as per english.
1998-08-29 08:32:32 +00:00
mycroft 3748c7c959 Assign my copyrights to TNF. 1998-08-15 09:16:27 +00:00
kleink ae9f044ef4 Document _PC_SYNC_IO. 1998-08-07 13:28:23 +00:00
kleink 7b07ad780a Per XNS Issue 5, calling recvmsg(2) or sendmsg(2) with an msg.msg_iovlen less
than or equal to 0 shall fail with EMSGSIZE; the latter condition was not being
checked for.  Also, document the msg.msg_iovlen > {IOV_MAX} case.
1998-08-04 19:48:34 +00:00
kleink c68582d64b UIO_MAXIOV -> IOV_MAX 1998-08-03 15:01:00 +00:00
kleink d8b09acbf7 Per IEEE Std 1003.1b-1993, Synchronous I/O Option, add O_DSYNC (synchronized
I/O data integrity completion) and O_RSYNC (complete read operations at the
same level of integrity requested for write operations).
1998-08-02 18:31:09 +00:00
thorpej bb218ac267 Protocol Family (PF_*) constants are used to select the domain,
not Address Family (AF_*).
1998-08-01 21:51:06 +00:00
thorpej bbc3c4bf2a Document that these calls can return EINVAL if the total length of the I/O
is more than can be expressed in the ssize_t return value.
1998-07-29 02:11:35 +00:00
is 10bf062527 Mention poll(2), too, where we formerly only mentioned select(2). 1998-07-28 09:43:30 +00:00
drochner cae89f7bc2 Partly revert 1.3->1.4: shmat() does really return -1 on error.
Fixes PR lib/5835 (yasufu-i@is.aist-nara.ac.jp).
1998-07-27 15:02:08 +00:00
jeremy f59b01a751 Added AppleTalk to the list of supported protocol domains. 1998-07-21 20:02:38 +00:00
lukem 786b86d71b use AF_LOCAL instead of AF_UNIX 1998-07-18 05:04:35 +00:00
mrg bc4c0a9fa8 be specific about the sa_mask structure (ie, actually refer to it by name) 1998-07-11 06:39:22 +00:00
fair 3a267cb729 add .Xr chflags 2 - this is another meta-data-modifying system call 1998-07-06 09:23:23 +00:00
mycroft 01ed262043 Further redux. 1998-07-03 18:09:25 +00:00
mycroft b742a40a8c Make this a bit less fork-happy. 1998-07-03 17:50:10 +00:00
thorpej a644188b88 int -> ssize_t ... today is not my day. 1998-07-02 01:42:28 +00:00
thorpej 637dff3592 Wrappers around the indirected positional i/o system calls; the off_t
arguments must be padded.
1998-07-02 01:25:37 +00:00
thorpej bdad86fd0c Add pread(2), pwrite(2), preadv(2), pwritev(2) system calls. 1998-06-30 19:46:00 +00:00
christos 1fbae2369b Add stub for fktrace(2) 1998-06-27 21:22:56 +00:00
nathanw f3506c371f Document KTRFAC_EMUL. 1998-06-27 04:23:05 +00:00
kleink 5896aedb44 Build fdatasync(2) stubs and manpage. 1998-06-08 14:17:29 +00:00
lukem d8c6c15bb4 fix up case of function names 1998-06-08 09:45:50 +00:00
enami 9ee7f79783 Rename section DIAGNOSTICS to RETURN VALUES as descirbed in mdoc.samples(7).
While I'm here, sort some SEE ALSO section and uncapitalize symbol name.
1998-06-07 04:56:20 +00:00
scottr df945b33c9 Fix a tyop. 1998-06-06 22:47:00 +00:00
kleink 90209a592e Rework this file, as based on suggestions made by Chris Demetriou. 1998-06-06 10:47:41 +00:00
kleink 7cb71743c0 Manual page for fdatasync(2). 1998-06-05 20:48:59 +00:00
kleink 503358cd49 Use MAP_FAILED in the return values description. 1998-06-03 22:03:44 +00:00
kleink b51b5b4b66 Add a comment about the deviation from POSIX and how to use the compatibility
interface.
1998-05-24 19:09:23 +00:00
kleink 18a7b5ac3a SYNOPSIS referred to the wrong header file. 1998-05-10 12:55:10 +00:00
kleink 3acf29c8b1 Add a few lines about the deviation from the POSIX and X/Open definitions,
and document the conforming interfaces.
1998-05-08 18:50:49 +00:00
kleink 592bbd088a Various SysV IPC prototype changes. 1998-05-07 18:42:00 +00:00
tls 37d4358822 document SA_RESETHAND. From Eric Haszlakiewicz, erh@uaccess.net 1998-05-05 03:11:17 +00:00
fair 542d9add44 fix .Xr reference 1998-04-30 21:59:39 +00:00
fair ebfcc842c8 Fix bad .Xr and some .Nm abuse 1998-04-29 19:19:15 +00:00
fair 03324faa09 fix mdoc references 1998-04-28 22:28:30 +00:00
fair 1628920950 Fix man to mdoc conversion mistakes, mostly of the form ^\.[A-Z][A-Z] 1998-04-28 07:19:28 +00:00
fair dc026e0515 Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
kleink e5e873f8b8 Fail with errno set to EINVAL if `how' is invalid. Also, reorder error list. 1998-04-27 13:43:23 +00:00
kleink 1a2907e5b4 0 -> SHUT_RD, 1 -> SHUT_WR, 2 -> SHUT_RDWR. 1998-04-25 10:42:33 +00:00
kleink 6618749e5a Per XPG, if the file descriptor argument to mmap() refers to a file whose
type is not supported (neither VREG nor VCHR, or not a vnode at all), fail
with ENODEV instead of EINVAL.
1998-03-28 16:58:04 +00:00
kleink 3a1500efe9 Per X/Open CAE Spec Issue 5 Version 2, change the buffer size argument of
readlink() from type `int' to type `size_t'.  This isn't an ABI change, since
the calling convention of our only LP64 platform (the Alpha) already promotes
this argument to a `long'.

This may not be the final action on this matter; readlink() still returns
an `int', which may change in a future revision of the standard.
1998-03-27 13:02:20 +00:00
fvdl 66eb6eeede Make this output one more include file, needed after the Lite2 changes. 1998-03-01 10:20:06 +00:00
enami 1e8255ad03 Put back (probably) an oversight in last commit; Er is actually a
macro and actual longest symbol is ENAMETOOLONG.
1998-02-28 13:58:39 +00:00
perry 869a8fb13e parameters to setreuid are uid_t, not int. 1998-02-25 22:56:00 +00:00
perry a70b79d19e The parameters of setregid are gid_t, not int. 1998-02-25 22:51:29 +00:00
perry 56c01cbd82 change second parm of sysarch() from char * to void * 1998-02-25 21:24:56 +00:00
kleink ed836ad574 Remove the inclusion of <sys/param.h> from SYNOPSIS: it is neither necessary
nor mandated by the standard.
1998-02-16 15:35:07 +00:00
kleink 4b9aec87c4 Note that EINVAL can also be caused by an mtype < 1. 1998-02-16 15:28:37 +00:00
kleink b8ae64f983 Oops, silly typo in last commit. Sigh. 1998-02-14 20:19:35 +00:00
kleink a2e65602ea Generate syscall stubs for getsid() (from thorpej), __posix_chown(),
__posix_fchown() and __posix_lchown().
1998-02-14 20:18:12 +00:00
thorpej e6eb50fc11 Add getsid.2 1998-02-14 01:38:36 +00:00
thorpej 4af6e3220d Document getsid(2). 1998-02-14 01:38:21 +00:00
mrg 3a51a3367e update MAP_COPY documentation, noting that it is currently implemented as MAP_PRIVATE. 1998-02-10 05:51:00 +00:00
kleink b000238f6e * Add an entry for ENOMSG that fits its wild semantics.
* Change all references from <sys/errno.h> to <errno.h>, which is the
  canonical location of that file.
* Bump the date.
1998-02-08 20:34:34 +00:00
kleink e02c517556 Due to the addition of EIDRM and ENOMSG, document these in the ERRORS section,
and nuke the (now obsolete) BUGS section.  Bump the date.
1998-02-08 20:09:12 +00:00
mikel e6b0fd7c81 add descriptions for EFTYPE, EAUTH, ENEEDAUTH, and EIDRM 1998-02-06 08:52:36 +00:00
perry 6982982f8d macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:39:31 +00:00
perry 374b18de8d fix grammar nit -- 'its' is possessive, not 'it's' 1998-02-03 22:23:57 +00:00
perry af4ebfa68d .Bx'ize/.Nx'ize 1998-02-03 21:12:45 +00:00
perry daf09c9c10 fix 4931 from Brian Grayson; NSTATS was used on the man page instead
of NSWAP.
1998-02-03 15:37:36 +00:00