Commit Graph

476 Commits

Author SHA1 Message Date
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
thorpej
71f8c85449 PowerPC uses new binutils, as well. 1997-03-29 21:07:19 +00:00
mikel
ccf0993f9d cleanup xrefs 1997-03-27 08:20:35 +00:00
mikel
e8ec797779 oops, missed one (from PR 3397) 1997-03-27 07:57:12 +00:00
mikel
4ab6dc7d2e allow examination of SIGKILL and SIGSTOP signal handlers (but still
disallow changes); from Klaus Klein in PR standards/3398.
1997-03-27 07:52:25 +00:00
mikel
b81091e992 POSIX.1 specifies that a failed link() to a directory must return EPERM,
and EMLINK was not documented; from Klaus Klein in PR standards/3397.
Also documented EOPNOTSUPP for filesystems that don't support hard links.
1997-03-27 07:30:25 +00:00
mikel
19fd4b60de make setpgid(pid, pgrp) return EINVAL if pgrp < 0 as required by POSIX.1;
from Klaus Klein in PR standards/3395.
1997-03-27 06:14:03 +00:00
mikel
f07e47bdb6 add ktrace(2), don't segregate SYSV IPC manpages, and add link for shmdt(2) 1997-03-27 02:39:15 +00:00
is
c8785a5591 Added EHOSTUNREACH description to ERRORS, closing PR 3133. 1997-03-25 15:43:06 +00:00
mikel
863572aff7 fix misplaced punctuation in SEE ALSO section. 1997-03-25 05:19:05 +00:00
mikel
04695059c2 add xrefs to readlink(2) and symlink(7). former from Brian Grayson in
PR misc/3378, latter by me.
1997-03-25 05:18:21 +00:00
mikel
8d58d36e7b make manpage match header; from Brian Grayson in PR misc/3367
(partial fix).
1997-03-21 05:59:54 +00:00
mikel
0159e147c7 per-user process limit is set by RLIMIT_NPROC, not MAXUPRC; fixes PR 888. 1997-03-11 07:27:59 +00:00
mouse
80c0d60f84 alternate -> alternative, per PR 2643 1997-03-08 13:47:08 +00:00
mouse
ff44468136 alternate -> alternative, per PR 2643 1997-03-08 13:36:38 +00:00
mikel
35ccea10a2 fix broken xref, add entries for EOPNOTSUPP, and indicate that this
syscall arrived in 4.4BSD.
1997-03-05 06:53:40 +00:00
mikel
e707982f35 check options argument to wait{3,4,pid}(); from Klaus Klein in PR 3182. 1997-02-07 05:33:07 +00:00
mikel
ce6705faed replace <sys/types.h> with <unistd.h> and fix type of brk();
PRs 2938 and 3132.
also added xref to mmap(2).
1997-01-23 05:32:52 +00:00
perry
44f0373a13 change sigpause(2) to sigsuspend(2) or sigpause(3), depending
Also try to fix other bad references to sig* man pages.
Fixes pr-2885 from Jonathan Stone
These SEE ALSO sections are still bloody messes (sigh)
1997-01-17 03:44:59 +00:00
perry
11c8a144e6 minor formatting tweak 1997-01-12 05:18:14 +00:00
thorpej
45d4f45f46 Fix typo; control message type for SO_TIMESTAMP is SCM_TIMESTAMP. 1997-01-12 01:01:06 +00:00
thorpej
2773f282b9 Document the SO_TIMESTAMP socket option. 1997-01-12 00:46:08 +00:00
cgd
80aa3bcb46 Fix quad_t __syscall() return goofs. Now these should work on big-endian
systems, too.
1996-12-23 03:00:25 +00:00
cgd
5f4060ddf0 a script to build C source code stubs to be fed to lint(1) from the data
in <sys/syscall.h>.
1996-12-22 11:38:34 +00:00
cgd
132d3e56e8 add LASM, LNOERR, and LPSEUDO variables, analogous to e.g. PASM, PNOERR, and
PPSEUDO but for .ln files rather than .po files.  Add the new variables
to LOBJS, as well.  The rules to build those objects them call a helper
script (sys/makelintstub) and pipe the result to lint.  Unfortunately,
dependency handling for these built .ln files is a bit sub-optimal right
now, but that can be fixed later.
1996-12-22 11:37:37 +00:00
cgd
4a62cd93f8 explicitly cast __syscall() returns to (int) so that lint knows
that we know what we're doing.
1996-12-22 10:40:27 +00:00
cgd
675052764f fix bogon: <sys/shm.h>, not <sys/msg.h>, should be included to use this. 1996-12-22 10:35:20 +00:00
cgd
1d8e0e8fda note that __syscall() is prototyped to return a quad_t 1996-12-21 01:38:56 +00:00
cgd
d3b76936e9 pull in unistd.h for prototypes 1996-12-20 20:17:19 +00:00
jtc
75eaaaa282 Add clock_* and ntp_* syscalls 1996-11-19 02:48:26 +00:00
lukem
43d6d7cf35 fix the the typos 1996-11-12 01:04:24 +00:00
mycroft
c9ec05f4b2 Treat reboot() like a normal system call. From PR 2458. 1996-11-11 13:41:08 +00:00
cgd
61f9093c88 document MNT_NOCOREDUMP 1996-10-23 22:54:26 +00:00
explorer
e2cf7cd786 ufs/quota.h -> ufs/ufs/quota.h, and some instances of ufs -> ffs
closes pr misc/2842
1996-10-22 21:49:00 +00:00
perry
a0028dc022 Remove spurious clock_* syscalls that got committed last night. They
broke shared libc's very badly. (Okayed by thorpej).
1996-10-19 18:42:12 +00:00
jtc
4f35ae26fc Generate syscall functions which can never fail (getgid, getegid, geteuid,
getpid, getppid, ...) with new RSYSCALL_NOERROR macro which has been added
to the SYS.h header of each port.
1996-10-19 00:54:22 +00:00
cgd
4cd050e74f temporary hack until better support for multiple toolchains is in the tree:
build SASM and SPSEUDO on the alpha without the '-k' flag to the assembler,
since -k is a flag specific to NetBSD's hacked assembler.
1996-10-13 20:28:55 +00:00
scottr
6f72cdccd4 Remove outdated BUGS section (from Mike Long, PR 2804) 1996-10-04 16:59:46 +00:00
christos
e324d0c9f6 Reflect reality. 1996-09-28 19:08:22 +00:00
jtc
6c68d47b78 Renamed _getlogin syscall to __getlogin, as _getlogin is the namespace
clean name for getlogin.

Moved _getlogin.o (now __getlogin.o) from PSEUDO to ASM, as this
syscall really does have a return value (although it will "always"
succeed since it should only be called from libc's getlogin())
1996-09-19 04:50:02 +00:00
mycroft
c49d89171e Mention that timeout is in milliseconds. 1996-09-07 21:53:08 +00:00
mycroft
28a375c45a Cross-reference poll(2). 1996-09-07 21:51:53 +00:00
mycroft
56b990d61e Document the use of INFTIM. 1996-09-07 21:50:07 +00:00
mycroft
52528cc4f8 Add a poll(2) man page. 1996-09-07 19:05:32 +00:00
mycroft
f6f3a3525f Document EFAULT as a valid error. 1996-09-07 17:54:26 +00:00
mycroft
65e2460e9e Build a stub for poll(2). 1996-09-07 14:25:51 +00:00
mrg
18393cb155 document RB_STRING. 1996-08-10 00:22:29 +00:00
thorpej
5ef055ef5c Phrasing/formatting tweaks, from Kenneth Stailey <kstailey@dol-esa.gov>
in PR #2677.
1996-08-09 19:09:32 +00:00
mrg
9c0b5cc2eb reboot(2)/getpgid(2) changes. 1996-08-09 14:10:45 +00:00
mrg
74693079c6 update for new reboot(2). 1996-08-09 10:32:11 +00:00
mycroft
601306abca Resurrect the setre[ug]id() stubs. 1996-06-23 11:52:49 +00:00
mycroft
23558a0acd Clean up removed files. 1996-06-23 11:50:33 +00:00
mycroft
db3e68aa58 Describe the _POSIX_SAVED_IDS situation more clearly. 1996-05-21 23:39:57 +00:00
mycroft
e376b17fef Build a stub for futimes(). 1996-04-23 10:42:30 +00:00
mycroft
ad2105650e Document futimes(). 1996-04-23 10:34:16 +00:00
jtc
991d366a82 Update to agree with <sys/mount.h>; From Todd C. Miller <millert@cs.colorado.edu> 1996-02-29 23:47:48 +00:00
jtc
1980640710 comment out PT_READ_U, PT_WRITE_U, PT_SYSCALL descriptions 1996-02-23 01:39:41 +00:00
phil
f85411e692 Change to fit reality. Backlog is limited to 128, not 5.
(sys/socket.h: SOMAXCONN)
1996-02-16 20:38:45 +00:00
mycroft
3544b72f01 Update to match mount(2) prototype. 1996-02-08 18:33:58 +00:00
mycroft
18fbe90d92 Document EMFILE and ENFILE. 1996-01-31 20:14:42 +00:00
jtc
78db0b395c Add S_IFWHT to correspond with <sys/stat.h>; Reported by Mike Long in PR #1949 1996-01-17 02:15:28 +00:00
thorpej
05df93de55 Document the EACCES errno value as returned by sendmsg(2), per
Ted Mellon <mellon@fugue.com>, PR #1093.
1996-01-15 01:17:18 +00:00
jtc
990dc3cb42 Fix grammar error pointed out by Peter Seebach in PR#1846 1995-12-27 21:17:02 +00:00
jtc
31ed1143ff merge in changes from 1.1 release branch 1995-11-28 06:41:14 +00:00
cgd
a2ce90f34c change definition of profil() to make it 64-bit friendly. This has
no practical consequence on 32-bit systems.  old prototype was
int profil(char *, int, int, int), and new one is int profile(char *,
size_t, u_long, u_int).  the size_t is the size of the buffer,
and the u_long is the 'starting offset'.  (I changed the last int
to u_int, because it's treated as a u_int everywhere, and isn't
logically a signed value.)
1995-11-22 23:07:19 +00:00
jtc
15ad6704b0 SysV IPC manpages from Frank van der Linden 1995-10-16 23:49:07 +00:00
jtc
b5d1933995 Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS
section with the actual function declarations.  See PR #1589 for details.
1995-10-12 15:40:27 +00:00
christos
d0749900af Don't write a.out files; breaks parallel makes. 1995-09-25 00:57:28 +00:00
cgd
d9393d75fb fix pr 1214 slightly differently. i _didn't_ use the .Fa macro to
mark "file," because in context it didn't seem as if the argument was
being literally named.  rather it seemed that the argument's purpose
being described.  (the difference being: "... modification times of the
file named by file" would be a case where the the argument was named,
and thus be used with .Fa.)
1995-07-12 07:18:31 +00:00
cgd
8f0aa84845 make these manual pages match current reality 1995-06-29 11:40:44 +00:00
cgd
abde65bef8 fix typo, as pointed out by David Brownlee 1995-06-27 22:32:28 +00:00
cgd
873e3c7169 add mlock xrefs as suggested by davide@cs.cmu.edu 1995-06-24 10:47:05 +00:00
cgd
98c450a103 add mincore xref as suggested by davide@cs.cmu.edu 1995-06-24 10:42:03 +00:00
jtc
5c433aa57e char * -> const char * 1995-04-19 23:31:15 +00:00
mycroft
4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
cgd
2493ac526d fix typo, and the fact that i was using a large xterm 1995-02-27 13:22:55 +00:00
cgd
110ae2f203 resurrect man page, only to note deprecation; belongs elsewhere (where?) 1995-02-27 13:21:35 +00:00
cgd
4eab61bd40 merge with lite, keeping most local changes. clean up Ids 1995-02-27 12:31:34 +00:00
cgd
c67e54a2e2 clean up merge, fix Id's 1995-02-27 11:22:54 +00:00
cgd
aeb457b1a7 from Lite 1995-02-27 10:49:50 +00:00
cgd
5b9633ddd7 fix RCS Id. fix definition of fsid_t. 1995-02-27 10:43:23 +00:00
cgd
be21d1de72 clean up RCS Id's 1995-02-27 10:41:36 +00:00
jtc
ee4db031bc sigmask() macro doesn't belong here, it's in the sigblock() manpage 1995-01-04 18:48:00 +00:00
mycroft
e0354b7995 Build undelete(2) stub. 1994-12-28 01:42:56 +00:00
cgd
ae9172d6cd specify man pages the new way. 1994-12-22 09:57:51 +00:00
jtc
debb742e2f Changed type of struct rlimit from quad_t to rlim_t.
Changed RLIM_INFINITY to 64 bit quantity.
1994-12-08 06:49:43 +00:00
deraadt
283e16a22b ptrace(2) by der mouse; not checked for accuracy 1994-11-14 06:26:44 +00:00
cgd
04a4b7684b make the sysv functions real syscalls. 1994-10-20 04:17:05 +00:00
cgd
9230a088b3 cast 1994-10-19 03:21:41 +00:00
cgd
32e7357c0f either change or update references to sigvec(), as appropriate 1994-10-17 23:49:08 +00:00
mycroft
97a272bc2e vmunix --> netbsd 1994-09-17 00:17:12 +00:00
mycroft
f41d9ebe51 Use an explicit references to UIO_MAXIOV, rather than a number. ref: PR 433 1994-09-16 03:08:46 +00:00
mycroft
67fc54c45a Update based on the 4.4-Lite version. 1994-08-26 12:55:25 +00:00
mycroft
f2098184d9 Fix for MAP_FILE changes. 1994-07-31 08:49:56 +00:00
mycroft
3d78977935 pipe(2) is no longer implemented using socketpair(2). 1994-07-17 05:14:55 +00:00
cgd
00c343f97a Changes by Thorsten Lockert and myself (though my role was only minor)
to document msync's error returns.
1994-06-21 04:49:04 +00:00
cgd
450db3f901 clean up import, rcsid 1994-06-21 04:24:53 +00:00
mycroft
93f0b31706 Clean up deleted files. 1994-06-14 03:56:04 +00:00
jtc
8c740dbc32 Convert getdtablesize() from syscall to function 1994-06-14 03:54:48 +00:00
jtc
e12121f0ea Change manpage's struct sigaltstack definition to match the one in
<sys/signal.h>.  Fixes bug 283.
1994-06-13 14:34:24 +00:00
jtc
d356abc303 User's should #include <signal.h>, not <sys/signal.h> if they want to
use this function portably.
1994-06-13 14:26:18 +00:00
cgd
809de843f3 oops; forgot man page 1994-06-13 00:13:48 +00:00
mycroft
4849d78f88 Clean up deleted files. 1994-06-12 22:58:06 +00:00
cgd
3943fb37c8 kill async_daemon; it's dead now 1994-06-12 22:58:03 +00:00
jtc
86da5c14f9 The umask effects mknod(2) too. 1994-05-18 14:36:13 +00:00
cgd
77c263426a oops, forgot to delete 1994-05-08 04:35:22 +00:00
mycroft
0cc9738192 Clean up deleted files. 1994-05-07 04:11:57 +00:00
cgd
8b8a31862e update for present reality. shlib version number bump (last for a bit) 1994-05-07 04:11:08 +00:00
cgd
fc7bd30680 new syscalls 1994-05-07 03:27:01 +00:00
jtc
e15ede0fe3 revoke(2) manpage 1994-05-07 00:35:36 +00:00
jtc
4853bb7972 44lite code 1994-05-07 00:26:28 +00:00
cgd
218c24c1ae clean 1994-05-06 01:02:52 +00:00
cgd
33b1618a57 rlimit stuff, and more. bump shlib major, for rlimit change, and for
safety (now that hackish off_t stuff gone completely.)
1994-05-04 02:30:39 +00:00
jtc
aec02f9cc9 Correctly describe conditions of ESRCH & EACCESS errors 1994-05-02 23:54:59 +00:00
cgd
9f0883781f update to match reality; this was *really* out of date! 1994-04-25 18:47:04 +00:00
jtc
38065bce20 Remove description of EINVAL, "The pathname contains a character with the
high-order bit set", as this error is obsolete.

Eventually we may want to add code to some of the "optional" filesystems
(msdosfs, etc.) that checks for illegal characters.  At that time it would
be appropriate to reintroduce this error with appropriate text.  Perhaps
"The pathname contains a character that is not valid for filesystem type".
1994-04-22 00:13:22 +00:00
jtc
a3376999f0 Use symbolic names {NAME_MAX} & {PATH_MAX} instead of 255 and 1023 in
description of ENAMETOOLONG error.
1994-04-19 00:10:45 +00:00
jtc
4304e0ec4e Add curly braces around NGROUPS_MAX.
This convention is used in manpages for other UN*X systems to refer to
system values (availiable via sysconf() or pathconf()) rather than
definitions in <limits.h>.
1994-04-19 00:09:04 +00:00
jtc
2c861674c4 First cut at a setsid(2) manual page. 1994-04-15 22:48:01 +00:00
jtc
2f9562f951 Describe special case when gidsetlen == 0.
NGROUPS -> NGROUPS_MAX.
1994-04-15 22:44:06 +00:00
jtc
293ba06c9d Describe causes of EINVAL error.
NGROUPS -> NGROUPS_MAX.
1994-04-15 22:43:25 +00:00
glass
f7a0b6da1d bleh 1994-04-11 06:36:04 +00:00
cgd
47894a50ac light clean 1994-04-10 00:16:58 +00:00
cgd
5f0c20b37b fix typo; from Thomas Eberhardt 1994-04-09 22:57:32 +00:00
cgd
46a40b386f M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
1994-04-06 23:29:29 +00:00
cgd
ae0bb68985 stubs, to get the padding right. so nasty it's almost unbelievable.
also, kill "special lseek" bogon.
1994-04-02 05:38:15 +00:00
cgd
bedbcf1adb delete duplicated info, from Mark Weaver 1994-04-01 03:44:32 +00:00
mycroft
5e7902055e Add lseek.S to SRCS. 1994-03-31 18:39:41 +00:00
jtc
76ac392966 Last weekend's uid_t & gid_t changes allow us to change the uid & gid
arguments to fchown() from ints to a uid_t and a gid_t.
1994-03-29 02:54:58 +00:00
jtc
c461cc3066 Last weekend's gid_t changes allow us to change the gidset argument of
getgroups() and setgroups() from a int ptr to a gid_t ptr.
1994-03-29 02:46:37 +00:00
jtc
c9db20ec0b Last weekend's gid_t changes allow us to change the gidset argument of
getgroups() and setgroups() from a int ptr to a gid_t ptr.
1994-03-29 02:46:29 +00:00
cgd
c0ae496079 fix from Paul Vixie for (probably a cut-and-paste) typo 1994-03-16 02:04:14 +00:00
jtc
df8e9f0bbd More spelling errors 1994-01-31 18:36:17 +00:00
jtc
a5ee0f03c4 ENOPSUPP -> EOPNOPSUPP 1994-01-31 18:33:21 +00:00
jtc
12d5be7f56 Fix spelling errors. 1994-01-10 23:54:08 +00:00
jtc
8ec96af59d Changed return value from int to pid_t. 1993-12-30 19:16:46 +00:00
jtc
412e7d5328 More manpage tweaks. 1993-12-15 20:32:47 +00:00
jtc
348a090081 Add explicit return types and needed header files to SYNOPSIS section. 1993-12-15 18:08:12 +00:00
jtc
8ee12398cc Must #include <sys/types.h> to use these functions. 1993-12-15 17:40:20 +00:00
jtc
0477eb4598 Tell user to #include <fcntl.h>, not <sys/fcntl.h> or <sys/file.h>. 1993-12-15 17:36:56 +00:00
cgd
0ada107897 update for .S and MACHINE_ARCH 1993-12-04 02:33:35 +00:00
jtc
17585e0f6d Manpage formatting tweaks. 1993-12-01 18:49:52 +00:00
jtc
250b6aa06e Use "Er" for argument to -width in the lists in the ERROR sections --- so
the formatting is consistant.
1993-11-29 21:24:57 +00:00
jtc
7ce85221c7 Fix formatting problem theo found. 1993-11-29 19:51:48 +00:00
jtc
f947c6c25d Format ERROR values like all the other manual pages. 1993-11-29 19:45:00 +00:00
jtc
9c4ad8fbd4 Misc manpage fixes. 1993-11-25 02:48:32 +00:00
jtc
6e9ac1805f Clean up manpages:
Use .Fn rather than .Nm macro in HISTORY and STANDARDS sections.
  Use .At and .St macros instead of spelling out "Version 6 UNIX",
	"IEEE 1003.1-1988 (POSIX)", etc.
1993-11-25 00:38:17 +00:00
mycroft
6b9d227409 MLINKS+=setpgid.2 setpgrp.2
Noticed by Poul-Henning Kamp <phk@data.fls.dk>.
1993-11-21 19:32:11 +00:00
cgd
5e9b346b27 Add the System V message queue and semaphore facilities. Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 12:40:23 +00:00
cgd
1966e528e6 fix flag name 'bug.' reported by Lennart Augustsson <augustss@cs.chalmers.se> 1993-11-08 03:31:24 +00:00
cgd
dfa98edf21 fixes from Garrett A. Wollman <wollman@emba.uvm.edu>:
note that EACCES is returned if program file is on an FS mounted
MNT_NOEXEC.  also fix missing close-paren.
1993-10-26 01:49:04 +00:00
jtc
981beb6413 Use .Xr for SEE ALSO cross references. 1993-10-15 00:05:44 +00:00
cgd
41ec5a7f5c adding sysarch() man page 1993-10-12 02:16:33 +00:00
cgd
0b9f50897e make an arch directory in libc, and move all machine dirs into it 1993-10-07 00:17:24 +00:00
jtc
801bd1aa6a Changed Synopsis, Buffer is of type "void *", not "char *".
The <unistd.h> header was allready correct.
1993-10-05 16:44:33 +00:00
jtc
778779a2cf Changed SYNOPSIS. Moved function "prototype" for waitpid above #include
of <sys/reso
1993-10-05 16:42:40 +00:00