NetBSD/lib/libc/sys
mrg e2eb31d3a3 version the socket(2) syscall. for compat30 socket, we use
EPROTONOSUPPORT instead of EAFNOSUPPORT.

from pavel@ with a little bit of clean up from myself.

XXX: netbsd32 (and perhaps other emulations) should be able
XXX: to call the standard socket calls for this i think, but
XXX: revisit this at another time.
2006-06-26 21:23:56 +00:00
..
__semctl13.c
_brk.c compat core reorg. 2005-09-13 01:44:08 +00:00
_exit.2
_fork.c compat core reorg. 2005-09-13 01:44:08 +00:00
_getcontext.c Add missing __RCSID() 2005-06-12 05:21:25 +00:00
_lwp_create.2
_lwp_exit.2
_lwp_getprivate.2
_lwp_self.2
_lwp_suspend.2
_lwp_wait.2
_lwp_wakeup.2
_pipe.c compat core reorg. 2005-09-13 01:44:08 +00:00
_sbrk.c compat core reorg. 2005-09-13 01:44:08 +00:00
accept.2
access.2 Replace a period, which is left unchanged when sentense is added in 2006-02-02 05:13:57 +00:00
acct.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
adjtime.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
adjtime.c Do not use SCARG() in userland. Eliminates need for <sys/systm.h>. 2006-03-09 23:44:43 +00:00
bind.2 Remove unnecessary parentheses. Add comma in enumeration. 2005-09-10 22:27:39 +00:00
brk.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
chdir.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
chflags.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
chmod.2 Add EPERM to fchmod() failure list. 2005-01-06 16:30:52 +00:00
chown.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
chroot.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
clock_settime.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
clock_settime.c Do not use SCARG() in userland. Eliminates need for <sys/systm.h>. 2006-03-09 23:44:43 +00:00
clone.2
close.2 Don't refer to errno as "global integer variable". 2004-06-01 16:12:51 +00:00
connect.2 Bump date for previous. 2004-05-18 14:53:47 +00:00
dup.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
execve.2 Change HISTORY. It traces execve only back to 4.2BSD, and it is a 2005-05-07 17:29:19 +00:00
extattr_get_file.2 Sort sections and SEE ALSO. Remove superfluous comma. 2005-01-02 18:28:48 +00:00
fcntl.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
fdatasync.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
fhopen.2 fhstatvfs(2) isn't in NetBSD 2.1 but 3.0. 2006-05-19 17:57:37 +00:00
flock.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
fork.2 Do not xref ourselves; grammar fixes. 2004-06-25 15:29:25 +00:00
fsync.2 Extend fsync_range(2) to support the FDISKSYNC flag, which requests 2005-01-25 23:55:20 +00:00
ftruncate.c
getcontext.2
getdents.2 u_intN_t -> uintN_t 2005-12-26 19:40:14 +00:00
getfh.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
getgid.2
getgroups.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
getitimer.2 Add an article. 2004-08-14 11:04:29 +00:00
getlogin.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
getpeername.2 Fix two unusual capitalisations, and add a preposition which had gone 2006-03-05 22:06:08 +00:00
getpgrp.2
getpid.2
getpriority.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
getrlimit.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
getrusage.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
getsid.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
getsockname.2
getsockopt.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
gettimeofday.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
getuid.2
getvfsstat.2 - getvfsstat(2) isn't in 2.1 but 3.0 2006-05-19 17:59:28 +00:00
intro.2 Bump date for previous. 2006-02-24 21:50:43 +00:00
ioctl.2 Bump date for FIONWRITE and FIONSPACE. 2004-11-08 16:15:42 +00:00
issetugid.2
kill.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
kqueue.2
ktrace.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
lfs_bmapv.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
lfs_markv.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
lfs_segclean.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
lfs_segwait.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
link.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
Lint___clone.c
Lint___syscall.c
Lint___vfork14.c
Lint_brk.c
Lint_clone.c
Lint_exect.c
Lint_getcontext.c
Lint_pipe.c
Lint_ptrace.c
Lint_sbrk.c
Lint_syscall.c
listen.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
lseek.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
lseek.c
madvise.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
Makefile.inc version the socket(2) syscall. for compat30 socket, we use 2006-06-26 21:23:56 +00:00
makelintstub Modernize: 2006-06-18 14:28:12 +00:00
mincore.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
minherit.2
mkdir.2 change errors returned for various operations on "/" to conform to SUSv3. 2005-12-27 17:24:07 +00:00
mkfifo.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
mknod.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
mlock.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
mlockall.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
mmap.2 Remove "len was less than zero" from the list of reasons that the function 2006-03-25 01:24:28 +00:00
mmap.c
mount.2 Link to getvfsstat(2) instead of getfsstat(2). 2006-02-24 20:49:38 +00:00
mprotect.2
msgctl.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
msgget.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
msgrcv.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
msgsnd.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
msync.2 remove text about converting async to sync, since we don't do it anymore. 2005-10-18 03:18:16 +00:00
munmap.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
nanosleep.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
nfssvc.2 Use only mdoc macros; remove unneeded Nm argument; use more 2005-09-23 20:27:10 +00:00
ntp_adjtime.2 Document the recent trunk changes to ntp_gettime(2) (Hi Matthias!). 2006-06-04 15:46:08 +00:00
ntp_adjtime.c Do not use SCARG() in userland. Eliminates need for <sys/systm.h>. 2006-03-09 23:44:43 +00:00
open.2 document the flags O_ALT_IO and O_NOCTTY 2005-08-11 10:35:24 +00:00
pathconf.2 Fix typo. 2005-08-14 07:28:29 +00:00
pipe.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
pmc_control.2 Bump date for previous. Use more appropriate markup. 2005-10-31 11:34:16 +00:00
poll.2 Crank the copyright year. 2005-03-10 19:53:22 +00:00
posix_fadvise.2 Improve English, fix a typo. 2006-02-24 21:50:04 +00:00
pread.c
preadv.c
profil.2
ptrace.2 Use more markup. 2006-03-11 12:03:03 +00:00
pwrite.c
pwritev.c
quotactl.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
rasctl.2 dd CAVEATS section provided by martin@ with minor cleanup by me. 2006-01-15 16:35:58 +00:00
read.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
readlink.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
reboot.2 Minor grammar fixes. 2004-11-21 10:45:08 +00:00
recv.2 Improve description of msg_name and msg_namelen fields. 2006-04-23 19:06:59 +00:00
rename.2 change errors returned for various operations on "/" to conform to SUSv3. 2005-12-27 17:24:07 +00:00
revoke.2
rmdir.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
sa_enable.2 "Upcall handlers should be registered" -> "An upcall handler ..." 2004-03-14 23:05:09 +00:00
sa_register.2 Fix macro usage, use Dv for SA_FLAG_STACKINFO, and English nits. 2004-03-14 10:19:59 +00:00
sa_setconcurrency.2 sync with kernel. 2005-09-05 21:57:35 +00:00
sa_stacks.2 Bump date for last. 2004-12-12 05:56:45 +00:00
sa_yield.2 - note its typical usage. 2004-05-09 11:28:58 +00:00
select.2 nil pointer -> null pointer 2005-03-09 22:28:52 +00:00
semctl.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
semget.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
semop.2 update errors for EIDRM (which we've returned for a long time now). 2005-11-03 17:07:28 +00:00
send.2 Document more MSG_ flags. From FreeBSD 2006-05-11 15:48:48 +00:00
setgroups.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
setpgid.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
setregid.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
setreuid.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
setsid.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
settimeofday.c Do not use SCARG() in userland. Eliminates need for <sys/systm.h>. 2006-03-09 23:44:43 +00:00
setuid.2
shmat.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
shmctl.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
shmget.2 \- is a minus, not -. 2004-05-13 10:10:46 +00:00
shutdown.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
sigaction.2 Document SA_NOKERNINFO. 2006-06-03 18:23:52 +00:00
sigaltstack.2 Add restrict qualifiers to remaining <signal.h> function arguments. 2005-03-22 20:25:31 +00:00
sigpending.2
sigprocmask.2 Xref pthread_sigmask(3). 2006-01-07 20:11:30 +00:00
sigstack.2
sigsuspend.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
sigtimedwait.2
sigtimedwait.c
sigwait.c
sigwaitinfo.c
socket.2 Add EAFNOSUPPORT as a possible error if the address family is not 2006-06-13 21:19:56 +00:00
socketpair.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
stat.2 u_intN_t -> uintN_t 2005-12-26 19:40:14 +00:00
statvfs.2 statvfs did not appear in 2.1, but in 3.0. 2005-11-04 06:09:20 +00:00
statvfs.c Add missing __RCSID() 2005-06-12 05:21:25 +00:00
swapctl.2 Remove the bogus const. 2005-05-29 21:12:27 +00:00
swapon.3 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
swapon.c Add missing __RCSID() 2005-06-12 05:21:25 +00:00
symlink.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
sync.2
sysarch.2
syscall.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
timer_create.2 Spelling fix. 2004-03-14 10:36:09 +00:00
timer_delete.2
timer_settime.2
truncate.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
truncate.c
umask.2
undelete.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
unlink.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
utimes.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
utrace.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00
uuidgen.2 Comment back in cross-references to other man pages, was looking at a non-recent 2005-01-30 18:13:04 +00:00
vfork.2
wait.2 Put the description of "options" in a new paragraph, for consistency 2004-05-24 05:52:52 +00:00
write.2 \- is a minus, not -. 2004-05-13 10:20:57 +00:00