Commit Graph

631 Commits

Author SHA1 Message Date
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
perry
a5c24028fa merge lite-2 1998-02-02 05:20:24 +00:00
perry
41bd4766f6 import lite-2 1998-02-02 03:44:25 +00:00
thorpej
1e4cac0c75 Document the O_SYNC flag, and where its semantics are defined (XPG4.2).
Be more clear about how file access modes are specified, and do a bit
of general cleanup.
1998-01-15 02:30:18 +00:00
kleink
c8b10b78af Document PROT_NONE. 1998-01-10 14:54:56 +00:00
enami
d9272c9112 Add missing comma in SEE ALSO list. 1998-01-10 12:40:24 +00:00
perry
4e067afcb1 RCS Id Police. 1998-01-09 03:15:09 +00:00
thorpej
c64c0879cb Actually document that SO_LINGER's linger time is measured in seconds. 1998-01-05 09:18:41 +00:00
thorpej
27a61de952 Add __vfork14.S and Lint___vfork14.c 1998-01-05 02:29:04 +00:00
thorpej
bbe02324b1 Add a lint stub for __vfork14.S 1998-01-04 20:52:09 +00:00
thorpej
d11eb3028f Update to match the new (old :-) vfork(2) semantics. 1998-01-04 04:20:42 +00:00
kleink
6e2ca95213 Update: the setuid and setgid bits will be cleared only if the caller is
not the super-user.
1997-12-21 17:58:27 +00:00
mikel
f5098db92a sync struct statfs with <sys/mount.h> 1997-12-18 07:22:58 +00:00
mrg
701bf906ba note that MAP_SHARED or MAP_PRIVATE must be specified. 1997-12-15 04:00:08 +00:00
kleink
5d7a8f4a16 Modify the recent sigaltstack() interface change to use the __RENAME() scheme;
add __sigaltstack14().
1997-11-29 18:38:20 +00:00
mikel
ae21562ab9 fix typos, use -mdoc macros where useful, replace blank lines with .Pp 1997-11-27 10:24:44 +00:00
mikel
335c5b7630 s/EACCESS/EACCES/, from Brian Evans via OpenBSD 1997-11-27 07:36:24 +00:00
kleink
5abc2c37ce Update sigaltstack() to use stack_t parameters. 1997-11-26 16:51:12 +00:00
tv
b934dcf21f Typo fix: the umount call is no longer called umount, it is now called
unmount.
1997-11-26 14:46:44 +00:00
lukem
0e3b290810 fix .Nx usage (use 1.0 instead of 0.9a, etc), and other minor cleanups 1997-11-24 06:28:50 +00:00
kleink
ffd48267c2 Update for nfds_t. 1997-11-21 18:30:49 +00:00
mrg
6be07a674c add missing .Nm calls and MLINKS. from spz@serpens.swb.de 1997-11-12 00:47:32 +00:00
cgd
6a1e9744f2 sh makelintstub, rather than trying to execute it directly 1997-11-06 22:34:01 +00:00
fair
382aed35d9 correct documentation: lock contention returns EAGAIN, not EACCES, per PR#4369 and UTSL. 1997-11-06 10:44:09 +00:00
cgd
023cd79c6b lint stubs for functions which ports use assembly versions. When using
an assembly version of a function, add the right lint stub to the Makefile.inc
which specifies the source to build the function (see the
arch/i386/*/Makefile.inc).  Can't just lint the normal C versions of these
functions, because some of them don't _have_ normal C versions and if
that were done dependencies would get messed up.
1997-11-06 00:51:04 +00:00
cgd
435c105d59 lint stubs for assembly routines. 1997-11-05 23:37:06 +00:00
cgd
446696d688 include sys/types.h rather than sys/param.h+sys/systm.h 1997-11-05 21:40:21 +00:00
thorpej
66abcf57d6 Instead of creating a .ln for each syscall stub, create one (big) .ln
per class of syscall stubs.  This is much more efficient (though it's still
pretty inefficient).

This also fixes a problem with syscall.h and DESTDIR which was pretty
well buried in the old implementation.

From Chris Demetriou <cgd@pa.dec.com>.
1997-11-05 05:46:18 +00:00
kleink
ae0ad1a554 Per XPG4.2, move mknod() prototype from <unistd.h> to <sys/stat.h>. 1997-11-02 17:16:48 +00:00
mycroft
d03bb60a87 Minor wording changes, and update the date. 1997-11-01 07:44:29 +00:00
mycroft
3f4f06cc2c Refer to sigaltstack(2), not sigstack(2).
Do not refer to siginterrupt(3), which is part of the old sigvec interface.
Various other formatting and wording fixes.
1997-11-01 07:29:50 +00:00
mycroft
71c121c6af Nuke trailing comma in SEE ALSO section. 1997-11-01 06:37:47 +00:00
lukem
d0e23d974a - use CPPFLAGS instead of CFLAGS
- use ${COMPILE.C} ... instead of ${CC} ${CFLAGS} -c ...
1997-10-22 23:14:04 +00:00
fvdl
21e1e24df3 New hacks to make libc work painlessly without bumping the major number:
use type func(arg1s) asm("emitted_name") gcc mechanism.
Suggested by Bill Sommerfeld.
1997-10-22 00:51:45 +00:00
thorpej
139064efd8 Fix an oversight in the previous. 1997-10-21 18:56:44 +00:00
thorpej
14cd99880c Fix the shared library versioning snafu caused by the recent changes
to the stat(2) family and msync(2).  This uses a primitive function
versioning scheme.

This reverts the libc shared library major version from 13 to 12, and
adds a few new interfaces to bring us to libc version 12.20.

From Frank van der Linden <fvdl@NetBSD.ORG>.
1997-10-20 22:05:06 +00:00
christos
473c5739fd Bring back swapon and getdirentries from libcompat. 1997-10-20 16:04:24 +00:00
enami
8f9f7c1f69 Fix typo; MLINKS are always constructed from pair of link src and dst.
- delete the line `MLINKS += swapctl.2'.
1997-10-18 12:27:08 +00:00
christos
14d765b9a0 caddr_t -> void *
PR/4269: Chris Demetriou: Add MS_* to msync()
1997-10-16 23:21:47 +00:00
christos
b2e230c1c7 caddr_t -> void *
PR/4269: Chris Demetriou: Add MS_* to msync()
1997-10-16 23:21:44 +00:00
christos
a111587eb8 caddr_t -> void *
PR/4269: Chris Demetriou: Add MS_* to msync()
1997-10-16 23:21:39 +00:00
christos
4fede91695 Reflect current reality. 1997-10-16 23:19:50 +00:00
christos
19acefc360 Remove swapon remnants 1997-10-16 23:13:24 +00:00
christos
84abd9f33b swapon migrated to libcompat 1997-10-16 23:12:30 +00:00
fvdl
d9bc7315c5 Create getdirentries man page seperately now. 1997-10-12 23:06:53 +00:00
enami
b9a2bf91c7 Sort SEE ALSO list. 1997-10-11 03:34:00 +00:00
enami
405926920b - Don't use capital letter for function name and argument.
- Sort SEE ALSO list.
1997-10-11 03:33:25 +00:00
enami
2f07ed897a Don't use capital letter for function name and argument. 1997-10-11 03:31:01 +00:00
enami
07caf92eec - Don't use captial letter for function name or function args even if
it is at the beginning of a sentence.
- In SYNOPSIS, rename function argument ``file'' to ``path'', since it is
  refered as ``path'' in DESCRIPTION.
- Use ``Fa path'' instead of ``Xr File'', since probably use of Xr is a typo,
  and now function argument is called ``path''.
1997-10-11 03:27:59 +00:00
enami
9c02ab376e Don't start function name with capital letter even if it is beginning
of a sentence.
1997-10-11 03:19:39 +00:00
enami
baf66c5d60 Remove description about behaviour of 4.4BSD symlink. 1997-10-11 03:18:11 +00:00
mrg
55c881fbd2 when creating the per-device extent, use from 0 to nblks, and then
extent_alloc_region() any skipped space.  this is (basically) what
the previous swap code did (with rmaps rather than extents).
1997-10-10 13:16:24 +00:00
mrg
74f573d85d remove advertising clause from all my licenses. 1997-10-10 05:39:47 +00:00
fvdl
e03a6d4d3e Add new getdents() syscall, provide compat code for old getdirentries. 1997-10-10 02:15:44 +00:00
mycroft
7348dd86b1 Document that the time zone is obselete, add an xref to localtime(3), and
update the HISTORY section.
1997-10-09 05:05:56 +00:00
enami
f67a987e2d Acutally, lchmod, lchown and lutimes may set errno to ELOOP. 1997-10-06 08:22:58 +00:00
enami
e61b385cbb Add C library interface for new system call lchmod, lchown and lutimes. 1997-10-06 01:12:06 +00:00
enami
435d770085 Add C library interface for new system call lchmod, lchown and lutimes. 1997-10-06 01:12:04 +00:00
enami
67aed4b601 Add C library interface for new system call lchmod, lchown and lutimes. 1997-10-06 01:12:02 +00:00
hubertf
560cebec0a s/Path/Dirname/; closes PR lib/4155 1997-09-27 19:33:20 +00:00
hubertf
f19d449a84 Typo: qetext -> etext; closes PR lib/4156 reported by entropy@tardis.bernstein.com 1997-09-27 19:23:34 +00:00
mikel
e13ea50bb5 RCSid police 1997-09-20 04:16:40 +00:00
mikel
42c4fcf3eb reference SS_* constants, not SA_* constants; from der Mouse in PR lib/4117
add some whitespace
1997-09-20 02:49:43 +00:00
cgd
8359b5d27b "int filedes[2]" is more correct than "int *filedes" in synopsis. 1997-09-17 23:50:08 +00:00
jtc
5b466bef97 Changed order of STANDARDS and HISTORY subheads to conform with
specification in mdoc(7).
1997-09-09 07:26:02 +00:00
chuck
1a99278044 import minherit from OpenBSD 1997-09-08 18:42:43 +00:00
mikel
abec49ea56 add HISTORY line for swapon(), and eliminate all reference to libc
major numbers.
1997-08-27 07:31:36 +00:00
mikel
45b9cc41fd feed makelintstub to sh, don't rely on x-bits 1997-08-25 05:07:43 +00:00
mikel
080f345dd2 fix numerous typos, some found by <entropy@tardis.bernstein.com> (PR
lib/4016) and others found by myself.  make Dt macro (document title)
  match filename.
1997-08-20 05:17:39 +00:00
mikel
3694683be8 add link from swapon(2) to swapctl(2); from
<entropy@tardis.bernstein.com> in PR lib/4015
while I'm here, also move swapon.c to a more appropriate spot
1997-08-20 04:58:41 +00:00
mikel
0dd6f777c8 fix typo; from <entropy@tardis.bernstein.com> in PR lib/4006 1997-08-19 04:40:03 +00:00
mikel
43cdfeec3e xref setpgid(2), not nonexistent setpgid(3) 1997-07-22 05:59:58 +00:00
phil
f7b40c4b07 Try to make man page refelect reality. EINVAL for "operation" argument,
EOPNOTSUPP for an fd not talking about a v-node (file in man page).
Closes PR2602.
1997-07-17 18:20:48 +00:00
mikel
93d703eed2 xref setgid(2) not nonexistent setgid(3), sort xrefs 1997-07-16 07:09:14 +00:00
mikel
48fbbaa026 xref quotactl(2) not nonexistent quota(2) 1997-07-16 06:05:58 +00:00
mikel
9c10bd8647 xref killpg(3) not obsolete killpg(2), sort xrefs 1997-07-15 07:13:29 +00:00
mikel
5a13994cb6 xref mmap(2), not self; xref mlock(2); sort xrefs 1997-07-15 06:52:43 +00:00
mikel
8312548282 xref getpagesize(3) not getpagesize(2), sort xrefs 1997-07-15 06:47:38 +00:00
mikel
1bc886dbc0 kadb(4) is dead, long live ddb(4)
remove obsolete BUGS section (hp300 supports RB_KDB, and apparently
  nothing uses RB_DFLTROOT anymore)
1997-07-15 03:04:56 +00:00
kleink
c213a3af8b Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION
to 199009L, bump existing statements to 1003.1-1990.
1997-07-14 23:19:39 +00:00
christos
3ad08ca2f9 Fix RCSID's 1997-07-13 20:25:30 +00:00
perry
07c4b8d6ac nuke reference to nonexistant MAP_WRITE flag, per Brian Grayson, pr-3698 1997-07-12 18:44:48 +00:00
perry
f7512395e6 document EFTYPE error return (from der Mouse, pr-3476) 1997-07-12 18:38:06 +00:00
mikel
6d9c162fda xref gethostid(3) not gethostid(2) 1997-07-11 08:05:51 +00:00
mikel
9431a9e7b2 xref getdtablesize(3) not getdtablesize(2) 1997-07-11 08:00:52 +00:00
mikel
68d5856411 xref _exit(2) or exit(3) instead of exit(2) 1997-07-10 07:54:12 +00:00
mikel
d61bcdd8e8 xref execve(2), getdtablesize(3) instead of execv(2), getdtablesize(2) 1997-07-10 07:44:49 +00:00
kleink
2d5034e643 EPERM is returned when the file to be removed is a directory and the file
system containing it does not permit the use of unlink(2) on a directory.
Add a missing comma.
1997-07-01 09:52:53 +00:00
phil
1c1a1ceb84 Update for reality. vfork differes only in the suspension of the parent.
(Closes PR 2713.)
1997-06-30 18:42:51 +00:00
lukem
76b5bb5198 fix a couple of typos 1997-06-21 07:02:40 +00:00
mrg
2989e9f477 actually document swapctl(2). 1997-06-20 05:47:58 +00:00
mrg
7bc62c9a2d move swapon() stub here 1997-06-12 22:39:15 +00:00
mrg
552af779d2 bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:46:19 +00:00
mikel
cfbba2e092 getdtablesize(2) -> getdtablesize(3) 1997-06-06 04:03:19 +00:00
cjs
ce91a5dfce Back out BUILDDIR change. 1997-05-31 22:38:59 +00:00
kleink
1dd65e81d9 DESTDIR -> BUILDDIR 1997-05-30 21:36:26 +00:00
cgd
c917dfb5b2 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
.Dd is supposed to be invoked like:
	.Dd month day, year
e.g. ".Dd January 25, 1989", rather than:
	.Dd "month day, year"
which is what these pages did.
1997-05-29 01:48:05 +00:00
jonathan
7a5244ba6c Delete hanging .if left by patch. 1997-05-24 03:02:12 +00:00
jonathan
346af6eeff More table-driven changes: split CPICFLAGS into separate flags, to
support the two different incompatible rules for build .so files from
.S source on both NetBSD and binutils toolchains:

	 ${CPP} | ${AS} for syscalls
	 ${CC}   	for non-syscalls
for which the different toolchains's ${AS}  requires diffferent flags.
1997-05-24 01:42:36 +00:00
pk
ddc2d9d857 MNAMELEN is 90. 1997-05-21 21:48:47 +00:00
kleink
f41ec7b2ac Add/update 1003.1 conformance notice. 1997-05-16 16:03:53 +00:00
kleink
733adc6801 Add/update 1003.1 conformance notice. 1997-05-16 15:31:01 +00:00
kleink
645ac6dfe5 Update standards conformance. 1997-05-16 15:19:40 +00:00
kleink
eaf8e7e2ee Note 1003.1 conformance. 1997-05-16 15:18:22 +00:00
kleink
b1f98ac0f2 Update standards conformance. 1997-05-15 17:05:18 +00:00
kleink
05aaaac188 Precede the dependency on /usr/include/sys/syscall.h with ${DESTDIR};
fixes PR/3595 from dave@comp.vuw.ac.nz (Dave Sainty).
1997-05-14 13:33:23 +00:00
kleink
244f0cc5f2 Update to the new `chown(2) vs. (S_ISUID|S_ISGID)' world order. 1997-05-13 17:45:16 +00:00
mikel
a9f44d3e01 xrefs need section numbers 1997-05-13 03:15:40 +00:00
mikel
7c0be96cf7 xref sigprocmask(2), not obsolete sigsetmask(2). 1997-05-12 07:46:33 +00:00
kleink
3cfcf494cd Use PSEUDO_NOERROR() for _exit(): it never returns. 1997-05-02 18:16:50 +00:00
kleink
1cacd20927 Note that fchown(2) also implies clearing the set-{group,user}-id bits;
update standards conformance.
1997-04-30 19:35:33 +00:00
tls
fd8263148c document kernel change 1997-04-26 21:25:49 +00:00
mycroft
96e0f61989 Rework text explaining false positives. 1997-04-23 20:29:52 +00:00
mikel
e98ae4a7d1 document new reasons why {,f}chflags() can return EPERM; fixes
PR kern/3491.  also, fix typo found by Paul Boven.
1997-04-23 06:00:51 +00:00
mikel
459878d396 add description of file flags, with xrefs to chflags(2).
add missing group/other file mode bits (!).
eliminate obsolete CAVEATS section.
fix misc. grammar and macro usage errors.
1997-04-22 06:40:38 +00:00
mikel
9c59822c67 add missing opaque and archived bits; from Paul Boven in PR kern/3491.
also fixed some formatting nits.
1997-04-22 06:10:26 +00:00
jtc
ef676dcc1a Add stubs which set errno to ENOSYS and return -1 for the POSIX.1b
timer_* API.  This was done to avoid bumping the libc minor number
each time a new portion is implemented.

This should be extended to the entire .1b API, although that will
require minor header file modifications to add the required structure
and type definitions.
1997-04-17 19:07:15 +00:00
jtc
3bfc110d1d Add nanosleep 1997-04-17 18:13:41 +00:00
jtc
e56fb3b58a Documentation for the new nanosleep syscall.
Hacked out from the sleep(3) and other exiting manpages.
1997-04-17 18:12:02 +00:00
kleink
64a2cc5d5b Documented EINVAL result for invalid resulting offsets. 1997-04-04 14:32:54 +00:00
mikel
cf6ca2ec52 oops, realphabetize manpages 1997-04-01 07:50:19 +00:00
christos
98931492ff PR/3410: NAKAJIMA Yoshihiro: Add futimes.2 link 1997-03-29 21:35:45 +00:00