Commit Graph

512 Commits

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