freebsd-dev/lib/libc/sys
David Greenman 186e347f2c Fixed a bug in sendfile(2) where the sent data would be corrupted due
to sendfile(2) being erroneously automatically restarted after a signal
is delivered. Fixed by converting ERESTART to EINTR prior to exiting.

Updated manual page to indicate the potential EINTR error, its cause
and consequences.

Approved by: re@freebsd.org
2003-12-01 22:12:50 +00:00
..
__error.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
_exit.2 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
accept.2 Clarify that the second argument to accept() may be a null pointer if 2003-09-05 15:41:52 +00:00
access.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
acct.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
adjtime.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
aio_cancel.2 Refer to 1003.1 instead of 1003.2 in the Standards section. 2003-01-13 10:37:11 +00:00
aio_error.2 Refer to 1003.1 instead of 1003.2 in the Standards section. 2003-01-13 10:37:11 +00:00
aio_read.2 Including <time.h> before <aio.h> has not been necessary for a while now. 2003-01-14 02:37:06 +00:00
aio_return.2 Refer to 1003.1 instead of 1003.2 in the Standards section. 2003-01-13 10:37:11 +00:00
aio_suspend.2 Refer to 1003.1 instead of 1003.2 in the Standards section. 2003-01-13 10:37:11 +00:00
aio_waitcomplete.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
aio_write.2 Refer to 1003.1 instead of 1003.2 in the Standards section. 2003-01-13 10:37:11 +00:00
bind.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
brk.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
chdir.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
chflags.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
chmod.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
chown.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
chroot.2 Document a bug in our chroot(2) implementation: if access control 2003-01-31 21:19:22 +00:00
clock_gettime.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
close.2 Document ENOSPC. 2003-06-13 22:41:12 +00:00
connect.2 Document that connect(2) can return EINTR, and that it 2003-08-06 14:21:06 +00:00
dup.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
execve.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
extattr_get_file.2 Document the new explicit listing API for extended attributes; note 2003-06-04 04:00:26 +00:00
fcntl.2 Prevent uppercase after .Xr by adding ``The ... utility/system call''. 2003-02-05 13:36:13 +00:00
fhopen.2 english(4) police. 2002-12-27 12:15:40 +00:00
flock.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
fork.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
fsync.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
ftruncate.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
getdirentries.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getdtablesize.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
getfh.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getfsstat.2 Replace out of date struct statfs definition with a reference to statfs(2). 2003-11-21 01:30:28 +00:00
getgid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
getgroups.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getitimer.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
getlogin.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
getpeername.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getpgrp.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
getpid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
getpriority.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getrlimit.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getrusage.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getsid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
getsockname.2 Add or correct section number in .Xr. Use .Vt or .Fn 2003-06-08 10:01:52 +00:00
getsockopt.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
gettimeofday.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
getuid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
intro.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
ioctl.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
issetugid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
jail.2 - Markup fix-ups (add .Dq, and some hard line breaks at the end 2003-11-11 18:31:36 +00:00
kenv.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
kill.2 - fix description of what processes SIGCONT can be sent to 2003-10-24 21:20:26 +00:00
kldfind.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
kldfirstmod.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
kldload.2 Document that kldload(2) can also return EEXIST. 2003-06-03 12:29:34 +00:00
kldnext.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
kldstat.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
kldsym.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
kldunload.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
kqueue.2 Add information about the EVFILT_NETDEV filter 2003-11-11 16:41:27 +00:00
kse.2 Xref policy: exit(2) -> _exit(2). 2003-06-17 09:36:47 +00:00
ktrace.2 Add a section documenting the sysctl(8) tunables that influence the 2003-11-11 04:59:25 +00:00
link.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
lio_listio.2 Assorted mdoc(7) fixes. 2003-06-01 19:19:59 +00:00
listen.2 Document that listen() can return EINVAL now. 2003-01-17 19:25:27 +00:00
lseek.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
lseek.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
madvise.2 Add the POSIX 1003.1-2001 posix_madvise() interface. 2003-08-09 03:23:24 +00:00
Makefile.inc Add a manual page for the utrace() system call. 2003-11-01 05:36:14 +00:00
mincore.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
minherit.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
mkdir.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
mkfifo.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
mknod.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
mlock.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
mlockall.2 Add the mlockall()/munlockall() system call manual page from NetBSD. 2003-08-11 07:16:21 +00:00
mmap.2 Spelling: s/then/than/ where appropriate. 2002-12-24 16:52:31 +00:00
mmap.c Fix style (no space after return, twice-too-big continuation) and 2002-12-22 03:20:16 +00:00
modfind.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
modnext.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
modstat.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
mount.2 In the !MNT_BYFSID case, return EINVAL from unmount(2) when the 2003-09-08 16:23:21 +00:00
mprotect.2 mdoc(7) police: markup laundry. 2003-02-23 01:47:49 +00:00
msync.2 - Add documentation for EBUSY. 2003-11-14 07:18:12 +00:00
munmap.2 Document EINVAL for len == 0. 2003-11-10 08:02:05 +00:00
nanosleep.2 Grammatical fixup: s/be the -1/be -1/ 2002-12-19 21:48:43 +00:00
nfssvc.2 Prevent uppercase after .Xr by adding ``The ... utility/system call''. 2003-02-05 13:36:13 +00:00
ntp_adjtime.2 ntp_adjtime returns the current state of the clock (TIME_*) on success 2003-06-20 21:14:59 +00:00
ntp_gettime.2 mdoc(7): Fix common mistakes made in the SEE ALSO section. 2003-09-12 21:54:11 +00:00
open.2 Fix/add errno return values to match the NFS client implementation and 2003-09-02 16:50:17 +00:00
pathconf.2 Typo fixes. 2003-01-07 05:06:27 +00:00
pipe.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
poll.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
pread.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
profil.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
ptrace.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
pwrite.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
quotactl.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
read.2 Fix/add errno return values to match the NFS client implementation and 2003-09-02 16:50:17 +00:00
readlink.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
reboot.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
recv.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
rename.2 Fixed the abuses of .Ql visible on stderr in troff mode. 2002-12-23 16:04:51 +00:00
revoke.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
rfork.2 Correct the return value of vfork(2) and rfork(2) in their 2003-04-27 21:01:34 +00:00
rmdir.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
rtprio.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
sched_get_priority_max.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
sched_setparam.2 .Xr p1003_1b moved to .St -p1003.1b-93 2003-06-08 10:11:13 +00:00
sched_setscheduler.2 .Xr p1003_1b moved to .St -p1003.1b-93 2003-06-08 10:11:13 +00:00
sched_yield.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
select.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
sem.c Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
semctl.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
semget.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
semop.2 Bring semop() closer the the opengroup standards. 2003-01-25 21:27:37 +00:00
send.2 Document the fact that send(2) can return EPIPE (like when a socket is not 2003-09-10 19:19:49 +00:00
sendfile.2 Fixed a bug in sendfile(2) where the sent data would be corrupted due 2003-12-01 22:12:50 +00:00
setgroups.2 Documented missing EINVAL errno value 2003-11-19 13:05:50 +00:00
setpgid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
setregid.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
setresuid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
setreuid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
setsid.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
setuid.2 Typo fixes. 2003-01-07 05:06:27 +00:00
shm_open.2 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
shmat.2 Bring shm functions closer the the opengroup standards. 2003-01-25 21:33:05 +00:00
shmctl.2 mdoc(7) police: Fixed a few .Fa abuses. 2002-12-19 09:33:34 +00:00
shmget.2 Bring shm functions closer the the opengroup standards. 2003-01-25 21:33:05 +00:00
shutdown.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
sigaction.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
sigaltstack.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
sigpending.2 Unify cross-references between sigpending(2), sigprocmask(2), 2003-06-24 15:41:19 +00:00
sigprocmask.2 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
sigreturn.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
sigstack.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
sigsuspend.2 Unify cross-references between sigpending(2), sigprocmask(2), 2003-06-24 15:41:19 +00:00
sigwait.2 The .Fn function. Use .Xr where appropriate. 2003-03-24 16:05:24 +00:00
socket.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
socketpair.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
stat.2 Bring the description of st_[cma]time modification conditions a bit 2003-10-20 13:52:22 +00:00
statfs.2 Resync. struct statfs and flag definitions with sys/mount.h. 2003-11-16 04:08:16 +00:00
swapon.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
symlink.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
sync.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
sysarch.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
syscall.2 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
truncate.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
truncate.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
umask.2 mdoc(7) police: Tidy up the syscall language. 2002-12-18 09:22:32 +00:00
undelete.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
unlink.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
utimes.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
utrace.2 Have utrace(2) return ENOMEM if malloc() fails. Document this error 2003-11-11 04:54:11 +00:00
uuidgen.2 Correct a misspelled name of time_hi_and_version. 2003-06-27 13:41:29 +00:00
vfork.2 Correct the return value of vfork(2) and rfork(2) in their 2003-04-27 21:01:34 +00:00
wait.2 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
write.2 Changed EINVAL constant reference from UIO_MAXIOV to IOV_MAX. 2003-10-11 20:47:44 +00:00