Commit Graph

2679 Commits

Author SHA1 Message Date
Michael Kerrisk 8af786669b subpage_prot.2: Change 1-line page description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-20 12:49:51 +02:00
Yuri Kozlov 43e6655c1d mbind.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-19 12:38:12 +02:00
Yuri Kozlov cad2c5169b migrate_pages.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-19 12:35:24 +02:00
Michael Kerrisk 5024580d6b syscalls.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-18 04:56:09 +02:00
Michael Kerrisk 01710c8d3b inotify_rm_watch.2: SYNOPSIS: fix type of 'wd' argument
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-15 08:07:51 +02:00
Michael Kerrisk e929e68bf8 prctl.2, rtc.4, boot.7, netlink.7: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-15 07:48:02 +02:00
Michael Kerrisk 82bf296553 cacheflush.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-15 07:45:01 +02:00
Michael Kerrisk b218b02329 open.2, poll.2, select_tut.2, getpt.3, openpty.3, posix_openpt.3, ptsname.3, unlockpt.3, pts.4, tty_ioctl.4, proc.5, pty.7: spfix: s/psuedoterminal/psuedoterminal/g
Reported-by: Denis Barbier <bouzim@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-13 05:32:15 +02:00
Michael Kerrisk 662b2137e8 open.2, poll.2, select_tut.2, getpt.3, grantpt.3, openpty.3, posix_openpt.3, ptsname.3, unlockpt.3, pts.4, tty_ioctl.4, proc.5, pty.7: Global fix: s/pseudo-terminal/pseudoterminal/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-12 06:51:51 +02:00
Michael Kerrisk 4891f52a48 recv.2, cmsg.3, unix.7: global fix: s/UNIX socket/UNIX doamin socket/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-12 06:49:35 +02:00
Michael Kerrisk 008f1ecc43 intro.1, time.1, accept.2, bind.2, connect.2, execve.2, flock.2, getdents.2, getpriority.2, getuid.2, intro.2, ioctl.2, mincore.2, mknod.2, personality.2, ptrace.2, read.2, recv.2, select_tut.2, send.2, sendfile.2, shmctl.2, sigaction.2, signal.2, stat.2, times.2, truncate.2, umask.2, wait.2, MB_CUR_MAX.3, MB_LEN_MAX.3, argz_add.3, btowc.3, clearenv.3, clock.3, cmsg.3, end.3, endian.3, errno.3, exit.3, fgetwc.3, fgetws.3, fopen.3, fputwc.3, fputws.3, fseek.3, fwide.3, getfsent.3, getgrnam.3, gethostid.3, getipnodebyname.3, getmntent.3, getpwnam.3, getwchar.3, grantpt.3, iconv.3, iconv_close.3, iconv_open.3, insque.3, intro.3, iswalnum.3, iswalpha.3, iswblank.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, malloc.3, mblen.3, mbrlen.3, mbrtowc.3, mbsinit.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, mkstemp.3, mktemp.3, nl_langinfo.3, openpty.3, posix_openpt.3, printf.3, ptsname.3, putwchar.3, qecvt.3, rcmd.3, readdir.3, rexec.3, rpc.3, setnetgrent.3, shm_open.3, sigpause.3, stdin.3, stpcpy.3, strftime.3, strptime.3, syslog.3, towctrans.3, towlower.3, towupper.3, ttyslot.3, ungetwc.3, unlocked_stdio.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscasecmp.3, wcscat.3, wcschr.3, wcscmp.3, wcscpy.3, wcscspn.3, wcsdup.3, wcslen.3, wcsncasecmp.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcspbrk.3, wcsrchr.3, wcsrtombs.3, wcsspn.3, wcsstr.3, wcstok.3, wcstombs.3, wcswidth.3, wctob.3, wctomb.3, wctrans.3, wctype.3, wcwidth.3, wmemchr.3, wmemcmp.3, wmemcpy.3, wmemmove.3, wmemset.3, wprintf.3, console_ioctl.4, pts.4, elf.5, filesystems.5, hosts.5, proc.5, ttytype.5, boot.7, capabilities.7, credentials.7, epoll.7, glob.7, koi8-r.7, path_resolution.7, pty.7, signal.7, suffixes.7, time.7, unicode.7, unix.7, uri.7, utf-8.7: global fix: s/Unix/UNIX/
The man pages were rather inconsistent in the use of "Unix"
versus "UNIX". Let's go with the trademark usage.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-12 06:49:17 +02:00
Michael Kerrisk 01e16c8aa9 mount.2: minor fix: write "file system" as two words (not "filesystem")
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-10 18:31:12 +02:00
Michael Kerrisk 08ba37e851 arrm_fadvise.2: New link to posix_fadvise.2
Reported-by: Stephan Mueller <stephan.mueller@atsec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-10 07:56:52 +02:00
Michael Kerrisk 8a686975a9 subpage_prot.2: New page documenting the PowerPC-specific subpage_prot(2)
Reported-by: Stephan Mueller <stephan.mueller@atsec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 08:32:11 +02:00
Michael Kerrisk 4606dbb039 syscalls.2: Add the PowerPC-specific subpage_prot() system call
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 08:28:11 +02:00
Michael Kerrisk ecf13c3319 arm_fadvise64_64.2: New link to posix_fadvise.2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 08:10:47 +02:00
Michael Kerrisk dc30fdc64e posix_fadvise.2: Document the architecture-specific arm_fadvise64_64() system call
This ARM-specific system call fixes the argument ordering
for that architecture. Since Linux 2.6.14.

Reported-by: Stephan Mueller <stephan.mueller@atsec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 06:51:40 +02:00
Michael Kerrisk e049eee85f posix_fadvise.2: Rewrite VERSIONS, noting that the system call is fadvise64()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 06:45:26 +02:00
Michael Kerrisk 83225c1f4d syscalls.2: Add sync_file_range2() to syscalls list
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 05:56:14 +02:00
Michael Kerrisk 68eb386f72 arm_sync_file_range.2, sync_file_range2.2: New links to sync_file_range.2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 05:47:50 +02:00
Michael Kerrisk cd95b6a6ab sync_file_range.2: Document the architecture-specific sync_file_range2() system call
As described in commit edd5cd4a9424f22b0fa08bef5e299d41befd5622,
the sync_file_range() argument order is broken for some
architectures (PowerPC, ARM, tile). The remedy was a different
system call using the right argument order on those architectures.

Reported-by: Stephan Mueller <stephan.mueller@atsec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 05:34:26 +02:00
Michael Kerrisk c18150c27e truncate.2: Fix feature test macros
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-06 07:51:38 +02:00
Michael Kerrisk 28e7ac241f chmod.2: tfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-06 07:43:57 +02:00
Michael Kerrisk 9f6bc3e0ee select_tut.2: tfix
Reported-by: Denis Barbier <bouzim@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-06 07:13:25 +02:00
Michael Kerrisk 59e9285d75 Removed trailing white space at end of lines 2010-10-04 05:04:21 +02:00
Michael Kerrisk ee644b657b sched_setscheduler.2, gethostbyname.3, mq_notify.3, posix_openpt.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-04 04:56:58 +02:00
Michael Kerrisk b83d6fd23f unshare.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 17:44:31 +02:00
Michael Kerrisk ff0c327836 io_cancel.2, io_destroy.2, io_getevents.2, io_setup.2, io_submit.2: SEE ALSO: add aio(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 17:12:29 +02:00
Michael Kerrisk 0d5f6a62aa timer_create.2, mq_notify.3: Standardize on name 'sevp' for sigeevnt argument
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-27 06:58:55 +02:00
Michael Kerrisk 9dcef0c031 truncate.2: Correct and simplify ftruncate() feature test macro requirements
The glibc 2.12 feature teat macro requirements for ftruncate() are
buggy; see http://sourceware.org/bugzilla/show_bug.cgi?id=12037.
Corrected the requriements in tha SYNOPSIS, and added a BUGS
section describing the problem in glibc 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-27 03:42:30 +02:00
Michael Kerrisk 7b072c4d33 brk.2, chroot.2, vfork.2, ecvt.3, gcvt.3, getcwd.3, getpass.3, mktemp.3, posix_memalign.3, strdup.3, ttyslot.3, ualarm.3, usleep.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 17:46:36 +02:00
Michael Kerrisk 7990e026cc chdir.2, chmod.2, chown.2, gethostname.2, getsid.2, pread.2, setpgid.2, sigaltstack.2, truncate.2, wait.2, dirfd.3, getsubopt.3, mkdtemp.3, mkstemp.3, siginterrupt.3, strdup.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 17:43:00 +02:00
Michael Kerrisk 34c909ac11 stat.2: Note feature test macro requirements for blkcnt_t and blksize_t
Reported-by: Andries E. Brouwer <Andries.Brouwer@cwi.nl>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 17:36:41 +02:00
Michael Kerrisk 3ba63d802e chdir.2, chmod.2, chown.2, gethostname.2, getsid.2, pread.2, setpgid.2, sigaltstack.2, stat.2, truncate.2, wait.2, dirfd.3, getsubopt.3, mkdtemp.3, mkstemp.3, siginterrupt.3, strdup.3: Simplify feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 17:16:57 +02:00
Denis Barbier 7b695c8496 mknodat.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 16:05:14 +02:00
Michael Kerrisk 5fab2e7c9c Changes.old, clone.2, execve.2, fcntl.2, futex.2, getitimer.2, getpriority.2, mmap.2, mount.2, mprotect.2, sched_setscheduler.2, select_tut.2, setuid.2, sigaltstack.2, vfork.2, div.3, fenv.3, fmod.3, memchr.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_getattr_np.3, queue.3, scanf.3, trunc.3, st.4, proc.5, services.5, utmp.5, bootparam.7, capabilities.7, feature_test_macros.7, futex.7, glob.7, man.7, netlink.7, unicode.7: Switch to American usage: "-wards" ==> "-ward"
American English uses "afterward" in preference to "afterwards",
and so on

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 07:34:47 +02:00
Michael Kerrisk 8a18a94479 getrusage.2: Add mention of the ancient vlimit() function
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 07:04:04 +02:00
Michael Kerrisk e1695dec3d getrlimit.2: Add mention of the ancient vlimit() function
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 07:04:04 +02:00
Michael Kerrisk 91e1b56b2e sched_setscheduler.2: ERRORS: note that NULL 'param' yields EINVAL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-24 10:10:22 +02:00
Michael Kerrisk c54ed37e0a chown.2, mmap.2, frexp.3, pthread_setschedparam.3, strtok.3: Remove comments on closing braces in example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-23 08:31:18 +02:00
Yuri Kozlov ce28864c25 lookup_dcookie.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk 0e39ed973e timer_create.2: Factor out generic material that was moved to new sigevent(7) page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk 50831f9b8a _exit.2, brk.2, capget.2, chdir.2, chmod.2, chown.2, chroot.2, getdtablesize.2, gethostname.2, getpagesize.2, getsid.2, killpg.2, mknod.2, mknodat.2, poll.2, posix_fadvise.2, pread.2, readlink.2, setpgid.2, setreuid.2, sigaltstack.2, stat.2, symlink.2, sync.2, truncate.2, vfork.2, wait.2, wait4.2, a64l.3, abs.3, acos.3, acosh.3, asin.3, asinh.3, atan.3, atan2.3, atoi.3, cbrt.3, ceil.3, copysign.3, cosh.3, dirfd.3, div.3, ecvt.3, erf.3, erfc.3, exp.3, exp2.3, fabs.3, fdim.3, ffs.3, floor.3, fma.3, fmax.3, fmin.3, fmod.3, fpclassify.3, frexp.3, ftw.3, fwide.3, gcvt.3, getcwd.3, getdate.3, getgrent.3, gethostid.3, getpass.3, getpwent.3, getsubopt.3, getw.3, hypot.3, ilogb.3, index.3, isalpha.3, isgreater.3, iswblank.3, j0.3, ldexp.3, lockf.3, log.3, log10.3, log1p.3, logb.3, lrint.3, lround.3, mkstemp.3, mktemp.3, modf.3, mq_receive.3, mq_send.3, nan.3, nextafter.3, posix_fallocate.3, posix_memalign.3, printf.3, qecvt.3, random.3, realpath.3, remainder.3, remquo.3, rint.3, round.3, scalb.3, scalbln.3, scanf.3, siginterrupt.3, signbit.3, sigset.3, sinh.3, sqrt.3, strcasecmp.3, strcat.3, strchr.3, strcmp.3, strcoll.3, strcpy.3, strfry.3, strpbrk.3, strsep.3, strspn.3, strstr.3, strtod.3, strtok.3, strtol.3, strtoul.3, strxfrm.3, tanh.3, tgamma.3, trunc.3, ttyslot.3, ualarm.3, usleep.3, wprintf.3, armscii-8.7, cp1251.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-3.7, iso_8859-5.7, iso_8859-6.7, iso_8859-8.7, koi8-u.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk 0e888c4ac4 mknodat.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk ea91c3fdde faccessat.2, dprintf.3, fexecve.3, fmemopen.3, mbsnrtowcs.3, mkfifoat.3, opendir.3, stpcpy.3, stpncpy.3, strnlen.3, strsignal.3, wcpcpy.3, wcpncpy.3, wcscasecmp.3, wcsdup.3, wcsncasecmp.3, wcsnlen.3, wcsnrtombs.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk 37877088db fchownat.2, fstatat.2, futimesat.2, linkat.2, mkdirat.2, openat.2, readlinkat.2, renameat.2, symlinkat.2, unlinkat.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk cebcc73f6a fchmodat.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk f904e68e33 faccessat.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk 64b7939672 sigaltstack.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:08 +02:00
Michael Kerrisk 9a30939ed9 clock_nanosleep.2, posix_fadvise.2, clock_getcpuclockid.3, mq_receive.3, mq_send.3, posix_fallocate.3: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:08 +02:00
Michael Kerrisk 2cee10882c mknodat.2: Fixed feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:08 +02:00
Michael Kerrisk 1e2ba090e1 truncate.2: Update and correct feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:08 +02:00
Michael Kerrisk 98dbe7af76 brk.2, chroot.2, faccessat.2, fchmodat.2, fchownat.2, fstatat.2, futimesat.2, getdtablesize.2, getpagesize.2, getsid.2, linkat.2, mkdirat.2, mknodat.2, openat.2, pread.2, readlinkat.2, renameat.2, setpgid.2, sigaltstack.2, symlinkat.2, sync.2, timer_create.2, timer_delete.2, timer_getoverrun.2, timer_settime.2, unlinkat.2, utimensat.2, vfork.2, acosh.3, asinh.3, atanh.3, dirfd.3, dprintf.3, ecvt.3, expm1.3, fexecve.3, fmemopen.3, gcvt.3, getcwd.3, gethostid.3, getpass.3, getsubopt.3, getw.3, mbsnrtowcs.3, mkfifoat.3, mkstemp.3, mktemp.3, opendir.3, posix_memalign.3, rint.3, siginterrupt.3, stpcpy.3, stpncpy.3, strdup.3, strerror.3, strnlen.3, strsignal.3, strtol.3, strtoul.3, ualarm.3, usleep.3, wcpcpy.3, wcpncpy.3, wcscasecmp.3, wcsdup.3, wcsncasecmp.3, wcsnlen.3, wcsnrtombs.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:08 +02:00
Michael Kerrisk 34c38af86e utimensat.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:06 +02:00
Michael Kerrisk 729166ed49 truncate.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:06 +02:00
Michael Kerrisk 256114b100 seteuid.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:06 +02:00
Michael Kerrisk 4833c277b2 gethostname.2: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:05 +02:00
Michael Kerrisk 5871b69b29 getdomainname.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:05 +02:00
Michael Kerrisk 8260c01f79 clock_getres.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:05 +02:00
Michael Kerrisk 72ef5c5c95 setpgid.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:05 +02:00
Michael Kerrisk 6c3f022828 _exit.2, abs.3, atoi.3, strtod.3, strtol.3, strtoul.3: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:05 +02:00
Michael Kerrisk e0a981113e _exit.2, abs.3, atoi.3, strtod.3, strtol.3, strtoul.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:05 +02:00
Michael Kerrisk ba8c512872 mknod.2: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:03 +02:00
Michael Kerrisk 43e0fe7d64 stat.2: Update lstat() feature test macro requirements
Add requirements for glibc 2.10.
Correct requirements for glibc versions before 2.10.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:03 +02:00
Michael Kerrisk 947c918908 wait4.2: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:03 +02:00
Michael Kerrisk 733e68f5f0 sync.2: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:03 +02:00
Michael Kerrisk cde2506fa1 readlink.2, symlink.2: Fixed feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:03 +02:00
Michael Kerrisk 03df33ec64 vfork.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:03 +02:00
Michael Kerrisk c609b9ffd0 setreuid.2: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:03 +02:00
Michael Kerrisk c267cf74d8 killpg.2: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk 6e3ac6baa5 wait.2: Update waitid() feature test macro requirements
Add requirements for glibc 2.12.
Correct requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk 65d3ffd966 chmod.2: Update fchmod() feature test macro requirements
Add requirements for glibc 2.12.
Correct requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk f593575224 stat.2: Update information on nanosecond timestamp fields
Update feature test macro requirements for exposing these fields.
Note that these fields are specified in POSIX.1-2008.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk 72dca4ff98 fcntl.2: Add feature test macro requirements for F_GETOWN and F_SETOWN
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk 02b219a16a fcntl.2: Note feature test macro requirements for F_DUPFD_CLOEXEC
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk 7f97034102 getsid.2: Update feature test macro requirements
Add requirements for glibc 2.12.
Correct requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk fc541b7aeb setpgid.2: Update getpgid() feature test macro requirements
Add requirements for glibc 2.12.
Correct requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk 42da7911c1 setpgid.2: Correct feature test macro requirements for setpgrp()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk 02e92562bb setpgid.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:02 +02:00
Michael Kerrisk 64dd856b5d chdir.2: Update fchdir() feature test macro requirements
Add requirements for glibc 2.12.
Correct requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:01 +02:00
Michael Kerrisk f8342ac373 pread.2: Updated feature test macro requirements
Added requirements for glibc 2.12.
Corrected requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:01 +02:00
Michael Kerrisk 51c8e66879 chown.2: Update fchown() and lchown() feature test macro requirements
Add requirements for glibc 2.12.
Correct requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:01 +02:00
Michael Kerrisk 4e35cec684 sigaltstack.2, siginterrupt.3: Updated feature test macro requirements
Added requirements for glibc 2.12.
Corrected requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:01 +02:00
Michael Kerrisk 129a22a4a9 sigaltstack.2: srcfix: remove unneeded comment
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:01 +02:00
Michael Kerrisk 2df50e3d4e brk.2, getdtablesize.2, getpagesize.2, vfork.2, getpass.3, ualarm.3, usleep.3: Updated feature test macro requirements
Corrected requirements for glibc versions before 2.12,
and added changed requirements in glibc 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:01 +02:00
Michael Kerrisk e2128f59bc chroot.2: Added feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:58:52 +02:00
Michael Kerrisk c43b0ac78c getrlimit.2: Document units for RLIMIT_RTTIME limit
This limit is in microseconds

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596492

Reported-by: Tanaka Akira <akr@fsij.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-12 08:40:54 +02:00
Michael Kerrisk b3a452706f lseek.2: Minor wording changes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 06:40:32 +02:00
Michael Kerrisk 3284fbc0ec lseek.2: Removed note about return type on ancient systems
Reported-by: der Mouse <mouse@rodents-montreal.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 06:13:23 +02:00
Michael Kerrisk 9326e678ca mount.2: Definitions of various MS_* constants only appeared in glibc 2.12
See http://sourceware.org/bugzilla/show_bug.cgi?id=11235

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 08:09:14 +02:00
Michael Kerrisk 535f0df5e8 clock_nanosleep.2, clock_getcpuclockid.3, getnetent_r.3, getprotoent_r.3, getrpcent_r.3, getservent_r.3, sigwait.3: RETURN VALUE: Note that "positive error numbers" are listed in ERRORS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 07:49:10 +02:00
Michael Kerrisk 86b91fdffb accept.2, clone.2, dup.2, fallocate.2, pipe.2, readahead.2, sched_setaffinity.2, unshare.2, CPU_SET.3, endian.3, euidaccess.3, fexecve.3, getpt.3, getpw.3, getumask.3, getutmp.3, gnu_get_libc_version.3, makedev.3, matherr.3, mbsnrtowcs.3, memfrob.3, pthread_attr_setaffinity_np.3, pthread_getattr_np.3, pthread_setaffinity_np.3, pthread_tryjoin_np.3, tcgetsid.3, wcscasecmp.3, wcsncasecmp.3, wcsnlen.3, wcsnrtombs.3, wcswidth.3, rtld-audit.7: SYNOPSIS: Add reference to feature_test_macros(7)
These pages specify feature test macros in the function
prototypes. Add a reference to feature_test_macros(7),
so that readers are pointed to the information that
feature test macros must be defined before including
*any* header file.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 07:06:22 +02:00
Michael Kerrisk 89ded5e7b7 capget.2: SYNOPSIS: Remove unneeded "undef _POSIX_SOURCE"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 06:45:26 +02:00
Michael Kerrisk 803e1d2f16 open.2: spfix in source comment
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 06:37:55 +02:00
Michael Kerrisk e417acb023 fcntl.2, intro.2, open.2, poll.2, ftw.3, intro.3, matherr.3, system.3, tmpnam.3, unix.7: Note that feature test macros must be defined before *any* includes
Programmers often make the mistake of including a feature test
macro only after having already included some header files.
This patch adds some text at opportune places to remind
programmers to do things the right way.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 06:33:31 +02:00
Guillem Jover bb4260c01b statfs.2: Fix copy & paste error for __SWORD_TYPE definition
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-09-04 06:45:06 +02:00
Michael Kerrisk 3fa2e4b9f5 select.2: Update NOTES on old glibc pselect()
Make it clear that modern glibc uses the kernel pselect()
on systems where it is available.
See https://bugzilla.kernel.org/show_bug.cgi?id=14411

Reported-by: mac@mcrowe.com
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-31 06:59:47 +02:00
Michael Kerrisk 6b2bd25649 futex.2: srcfix: update FIXME
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-31 06:50:46 +02:00
Michael Kerrisk 0986cb57b1 eventfd.2: Document EFD_SEMAPHORE
Document the EFD_SEMAPHORE flag, added in kernel 2.6.30.
Also restructured some parts of the text to fit with the
addition of the EFD_SEMAPHORE text.

Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-30 07:15:21 +02:00
Michael Kerrisk 4eb6d333a8 eventfd.2: Put flags list in alphabetical order
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-30 06:39:47 +02:00
Michael Kerrisk c4c8b1da75 write.2: Add EDESTADDRREQ error
Reported-by: Brian Sutin <Brian.Sutin@hs.utc.com>
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 15:50:27 +02:00
Michael Kerrisk cc3707c028 utimensat.2: Minor fix: remove duplicate word "the"
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 14:41:21 +02:00
Michael Kerrisk e8fd507782 sysfs.2: Minor fix: remove duplicate "the"
Reported-by: Denis Barbier <bouzim@gmail.com>
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 14:40:16 +02:00
Michael Kerrisk 2677bc5cea epoll_ctl.2: wspfix
Reported-by: Denis Barbier <bouzim@gmail.com>
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 14:22:51 +02:00
Michael Kerrisk cb8c0c9b69 readdir.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 09:06:37 +02:00
Michael Kerrisk d185a51006 gethostname.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 09:06:12 +02:00
Michael Kerrisk bde4b0ae94 gethostname.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 09:05:40 +02:00
Michael Kerrisk 460b3d610f sigaction.2: Minor fix: s/null/NULL/
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 09:03:11 +02:00
Michael Kerrisk 3701130ad7 send.2: wfix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 08:33:07 +02:00
Michael Kerrisk b637ad73b1 recv.2, send.2: Remove obsolete reference to glibc version in NOTES
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 08:32:22 +02:00
Nicholas Hunt f07435fbcc recv.2, send.2: Adjust type shown for msg_controllen to glibc reality
This patch fixes the type of msg_controllen in the struct msghdr
definition given in send.2 and recv.2 to match the definition in
glibc and the kernel.

Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 08:29:04 +02:00
Denis Barbier 038dff6613 sched_setscheduler.2: wfix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:58:29 +02:00
Michael Kerrisk 5d127cc9a4 readlink.2: Minor wording change in CONFORMING TO
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:54:11 +02:00
Alexander Shishkin d45105d9d7 eventfd.2: Clarified close-on-exec behavior
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:37:08 +02:00
Lnac Huard c9e83f0678 mq_getsetattr.2, mq_close.3, mq_getattr.3, mq_notify.3, mq_send.3, mq_unlink.3: Fix return type in SYNOPSIS (s/mqd_t/int/)
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:36:55 +02:00
Yuri Kozlov 60fe1ea109 umount.2: wfix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 06:40:29 +02:00
Yuri Kozlov 0a598d2676 open.2: grfix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 06:39:28 +02:00
Yuri Kozlov e4123e514c epoll_ctl.2: Small fix to types in data structures
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 06:28:48 +02:00
Yuri Kozlov f75ad1f32e fork.2: ffix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 06:25:10 +02:00
Michael Kerrisk fd3fa7efa5 futex.2: Minor wording changes
Reported-by: Yuri Kozlov <yuray@komyakino.ru>
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 06:21:27 +02:00
Michael Kerrisk ba2e3e9a04 poll.2: tfix
Reported-by: Denis Barbier <bouzim@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-07-02 07:12:35 +02:00
Michael Kerrisk d1d721bec5 sysfs.2: Clarify that this syscall is obsolete.
And strengthen recommendation for to use /proc/filesystems
instead.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-27 15:51:46 +02:00
Michael Kerrisk 2859e48cd8 flock.2: srcfix: Add FIXME for LOCK_MAND
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-27 07:47:59 +02:00
Michael Kerrisk e14baeeb54 prctl.2: srcfix: Added FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-27 06:54:10 +02:00
Michael Kerrisk 02234c5df0 add_key.2, keyctl.2, request_key.2: srcfix: remove strange .\"""...""" comments
Reported-by: Jianhua Li <jhlicc@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-27 06:47:23 +02:00
Michael Kerrisk cf9c6362a3 sched_setscheduler.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-27 06:43:20 +02:00
Michael Kerrisk 1ebc0ddb5f madvise.2: Improve discussion of MADV_SOFT_OFFLINE
Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-26 15:21:32 +02:00
Michael Kerrisk 81a0028c21 clock_nanosleep.2: Fix discussion of return value when interrupted by a signal
Reported-by: Przemyslaw Szczepaniak <Przemyslaw.Szczepaniak@imgtec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-26 11:44:43 +02:00
Michael Kerrisk 43537f2868 mkdir.2: Add EMLINK error to ERRORS
Reported-by: Maxin John <maxin.john@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-26 11:16:03 +02:00
Michael Kerrisk ab9cd9b796 umount.2: srcfix: comment
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-26 10:56:15 +02:00
Michael Kerrisk 55d56b7140 migrate_pages.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 12:46:28 +02:00
Michael Kerrisk b911dcb076 Removed trailing white space at end of lines 2010-06-20 06:43:23 +02:00
Michael Kerrisk 92c1db72e2 madvise.2, mmap.2, crypt.3, opendir.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 05:46:00 +02:00
Michael Kerrisk d8da429e17 madvise.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 05:15:34 +02:00
Michael Kerrisk f17d72ad91 ioprio_set.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 03:46:36 +02:00
Michael Kerrisk c808bb1630 select.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 03:44:37 +02:00
Michael Kerrisk 4c9f4bc8e9 gettimeofday.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 03:42:49 +02:00
Michael Kerrisk 5aa2ee8001 migrate_pages.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 03:36:45 +02:00
Michael Kerrisk ff24dd19d9 madvise.2: spfix
Reported-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 03:21:58 +02:00
Michael Kerrisk f5321b148d madvise.2: srcfix: update changelog
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 13:10:52 +02:00
Michael Kerrisk c7bdcd8faa madvise.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 13:10:52 +02:00
Michael Kerrisk 4be1f2ef91 madvise.2: Improve description of MADV_SOFT_OFFLINE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 13:10:52 +02:00
Michael Kerrisk e596338261 madvise.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 13:10:52 +02:00
Andi Kleen 69c8f36fa1 madvise.2: Fix description of MADV_HWPOISON
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 13:10:52 +02:00
Andi Kleen ae24c212b2 madvise.2: Document MADV_SOFT_OFFLINE
This operation was added in Linux 2.6.33.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 13:10:51 +02:00
Michael Kerrisk 3b18c59b70 madvise.2: Slight tweak to text on MADV_MERGEABLE
Reported-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 13:10:35 +02:00
Michael Kerrisk 5baa8f0928 madvise.2: Added documentation of MADV_MERGEABLE and MADV_UNMERGEABLE
These flags (used for Kernel Samepage Mergeing, KSM)
are new in 2.6.32.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 07:36:46 +02:00
Michael Kerrisk cf037473e7 madvise.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 07:09:44 +02:00
Michael Kerrisk 601f3bc6d3 madvise.2: minor: Reformat text for EINVAL error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 07:08:04 +02:00
Michael Kerrisk 5b775090b1 sched_setscheduler.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 06:49:32 +02:00
Michael Kerrisk 93414d353b sched_setscheduler.2: Document SCHED_RESET_ON_FORK
New in Linux 2.6.32

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 06:48:45 +02:00
Michael Kerrisk fad2a83bb0 madvise.2: srcfix: update FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 06:09:56 +02:00
Andi Kleen 523c2f67b7 madvise.2: Document MADV_HWPOISON
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 06:07:39 +02:00
Michael Kerrisk c3b9aac8a5 umount.2: Document UMOUNT_NOFOLLOW
New in Linux 2.6.34.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 05:39:31 +02:00
Michael Kerrisk bc92ddbb15 fcntl.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 04:29:32 +02:00
Michael Kerrisk cc7965fc11 fcntl.2: Improve F_SETPIPE_SZ text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 04:13:28 +02:00
Michael Kerrisk 14f7d1a4bd fcntl.2: Document F_SETPIPE_SZ and F_GETPIPE_SZ
These commands, new in kernel 2.6.35, set and get the capacity
of pipes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-17 00:11:47 +02:00
Michael Kerrisk 23a05d28b6 fcntl.2: Note that glibc 2.11 papers over the kernel F_GETOWN bug
Since version 2.11, glibc works around the kernel limitation for
process groups IDs < 4096 by implementing F_GETOWN via F_GETOWN_EX.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 23:46:02 +02:00
Michael Kerrisk b09639d9be quotactl.2: Fix description of dqi_flags
Reported-by: Jan Kara <jack@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 23:04:41 +02:00
Denis Barbier 5a11d35847 quotactl.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 22:48:50 +02:00
Michael Kerrisk 22187ccf0e quotactl.2: Minor improvement in structure explanation
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 08:53:32 +02:00
Michael Kerrisk b5d8309951 quotactl.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 08:52:46 +02:00
Michael Kerrisk 0aeccf9e0c sigaction.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 06:27:25 +02:00
Michael Kerrisk 5ffadafd3b sigaction.2: Add details for signals sent by POSIX message queue notifications
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 06:21:59 +02:00
Michael Kerrisk 80752fa5f3 sigaction.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 06:09:46 +02:00
Michael Kerrisk affc8cc071 sigaction.2: srcfix: Add FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 06:08:18 +02:00
Michael Kerrisk c2261e74ca sigaction.2: Add some details for SIGTRAP and si_trapno
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 05:54:21 +02:00
Michael Kerrisk 39efed936a sigaction.2: Add TRAP_BRANCH and TRAP_HWBKPT to si_code values for SIGTRAP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 05:36:01 +02:00
Michael Kerrisk 4176590caf sigaction.2: Rearrange text describing fields set by sigqueue(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 05:23:18 +02:00
Jan Kara 1eeddf2527 quotactl.2: Major updates
Update the page to consolidate information from the
outdated man-pages quotactl.2 page and the quotactl.2
page in the "quota-tools" pachage. The page in "quota-tools"
has now been dropped by Jan Kara, so that there is just one
canonical quotactl.2 page (in pan-pages).

Various other pieces added to the page by mtk.

Reported-by: Petr Gajdos <pgajdos@suse.cz>
Reported-by: Jan Blunck <jblunck@novell.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 04:51:36 +02:00
Michael Kerrisk 245dec52ca open.2, sync_file_range.2, umount.2: Global fix: s/filesystem/file system/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-15 05:16:42 +02:00
Ivana Hutarova Varekova d71593a99b swapon.2: Note effect of iCONFIG_MEMORY_FAILURE on MAX_SWAPFILES
From 2.6.32, MAX_SWAPFILES is decreased by 1 if the kernel is
built with CONFIG_MEMORY_FAILURE.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-15 03:49:25 +02:00
André Goddard Rosa 3821a5957f vfork.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-15 03:33:53 +02:00
André Goddard Rosa 09d3f6940c posix_fadvise.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-15 03:27:10 +02:00
Michael Kerrisk 9791cc7060 posix_fadvise.2: Add sync_file_rane(2) under SEE ALSO
Reported-by: Manfred Schwarb <manfred99@gmx.ch>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-14 04:42:27 +02:00
Michael Kerrisk efe08656e6 open.2: Remove ambiguity in text on NFS and O_EXCL.
Reported-by: David Sommerseth <davids@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-14 04:38:26 +02:00
Michael Kerrisk 14f1e036e1 getrusage.2: Replace text describing unused fields
An earlier patch attempted to describe how the unused rusage
fields are used on other systems. But, Mark Hills notes that
that is likely to cause confusion. So, replace that text with
a general statement about why the unused fields are present.

Reported-by: Mark Hills <mark@pogo.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-14 04:30:17 +02:00
Michael Kerrisk 87f8e275ae getrusage.2: srcfix wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-14 04:10:11 +02:00
Michael Kerrisk 503a80c703 getrusage.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-14 04:09:19 +02:00
Francesco Cosoleto 6e0bcabee7 getpriority.2, nice.2: Move renice from section 8 to section 1
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-14 03:01:00 +02:00
Francesco Cosoleto 81a8f8e796 msgctl.2, semctl.2, shmctl.2: Move ipcs from section 8 to section 1
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-14 03:00:31 +02:00
Michael Kerrisk 3954c907b1 statvfs.2: New link to page relocated to Section 3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:54:03 +02:00
Michael Kerrisk 7c19417eca fstatvfs.2: Adjust link to point to Section 3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:53:26 +02:00
Michael Kerrisk 33a93cdf66 statvfs.2: Move this page to section 3 (since it's a library call)
Reported-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:51:45 +02:00
Michael Kerrisk 1e7351d41f statfs.2: Bring statfs struct type declarations closer to glibc reality
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:45:16 +02:00
Michael Kerrisk 2ff07a1e5f statfs.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:30:04 +02:00
Michael Kerrisk b7b46bf606 statfs.2: Document f_frsize field.
Reported-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:29:29 +02:00
Michael Kerrisk 13a36929ad recv.2: Minor tweaks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:42:50 +02:00
Yuri Kozlov 687b7c838d pread.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:35:03 +02:00
Andi Kleen f01470e6e3 migrate_pages.2: New page documenting migrate_pages(2).
Andi's text based on the move_pages.2 page; additional edits by mtk.
migrate_pages(2) was new in Linux 2.6.16.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:27:49 +02:00
Michael Kerrisk b8c599cba0 poll.2: Fix discussion of ppoll() timeout argument
1. Rename ppoll)(_ argument to "timeout_ts" to distinguish it
   from the poll() argument in the text.
2. More accurately describe the poll() call that is equivalent
   to ppoll().

Reported-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:15:00 +02:00
Andi Kleen ed31c5727f prctl.2: Document the hwpoison prctls in 2.6.32
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 13:47:27 +02:00
Michael Kerrisk 81fff50bbf move_pages.2: minor tweaks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 14:26:36 +02:00
Michael Kerrisk ebbb5118f0 mremap.2: Clarify existence of fifth argument.
Reported-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 08:07:47 +02:00
Michael Kerrisk 1fd0fa4338 move_pages.2: minor tweak to Andi's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:13 +02:00
Andi Kleen cb8fbbcd47 Clarify includes/libraries in move_pages page
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:13 +02:00
Michael Kerrisk 665f1e69cf sigaction.2: Improve description of various siginfo_t fields
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:13 +02:00
Andi Kleen f402032c67 sigaction.2: Document hwpoison signal extensions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:12 +02:00
Michael Kerrisk b2b49ccb2d select_tut.2: Fix bug in example program
Reported-by: Andrew Klossner <andrew@cesa.opbu.xerox.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:10 +02:00
Fang Wenqi a30508988b statfs.2: Add definition EXT4_SUPER_MAGIC = 0xEF53
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 15:05:59 +02:00
Yuri Kozlov 84492c365b setsid.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 14:43:43 +02:00
Michael Kerrisk 57440a987d getrusage.2: Enhanced description of various fields
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 05:21:17 +02:00
Michael Kerrisk e3f4bf3ee4 getrusage.2: srcfix: Update change history to note Mark Hills' updates
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 05:21:05 +02:00
Mark Hills c90ccb4e1b getrusage.2: Add ru_maxrss
See kernel commit 1f10206.

Signed-off-by: Mark Hills <mark@pogo.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 04:27:40 +02:00
Mark Hills d1cd1e055a getrusage.2: Description of maintained fields
These descriptions are taken from NetBSD 5.0's getrusage(2).

Signed-off-by: Mark Hills <mark@pogo.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 04:27:28 +02:00
Michael Kerrisk 3a7c32f47e timer_create.2, timer_delete.2, timer_getoverrun.2, timer_settime.2, getline.3: Add 'L' to constants in feature test macro specifications
Be consistent with POSIX, which uses constants such as 200809L.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 03:58:26 +02:00
Michael Kerrisk b182a7e530 msgop.2: tfix: s/msg_bytes/msg_qbytes/
Reported-by: Mihai Paraschivescu <paraschivescu_mihail@yahoo.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-23 03:19:34 +02:00
Petr Uzel 2dc48048f4 mount.2: Fix incorrect path
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-22 05:32:46 +02:00
Michael Kerrisk 9b936e9eec futex.2: Various fixes in SEE ALSO
Reported-by: Rob Landley <rob@landley.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-22 05:23:14 +02:00
Michael Kerrisk 028cb0809b prctl.2: Correct PR_SET_KEEPCAPS description
The "keep capabilities" flag only affects the treatment of
permitted capabilities, not effective capabilities.

Also: other improvements to make the PR_SET_KEEPCAPS text clearer.

Reported-by: Serge E. Hallyn <serge@hallyn.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-13 06:16:25 +02:00
Michael Kerrisk 623ba005ca prctl.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-10 05:30:56 +02:00
Michael Kerrisk 12062404f9 mmap.2: Document MAP_UNINITIALIZED flag
New in Linux 2.6.33.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-03-13 08:08:06 +01:00
Michael Kerrisk 7c7adcbe55 mmap.2: minor: fix text ordering (MAP_STACK)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-03-13 07:11:08 +01:00
Michael Kerrisk 285bf67e18 syscalls.2: Bring system call list up to date with Linux 2.6.33
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-03-06 06:46:15 +01:00
Michael Kerrisk d3ea5e9928 syscalls.2: Fix kernel version number for utimes()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-03-06 06:31:08 +01:00
Michael Kerrisk ec8bcce2a8 mlock.2: /proc/PID/status VmLck shows how much memory a process has locked
After a note from Tom Swigg, it seems sensible mention VmLck here.

Reported-by: Tom Swigg <swiggtc@lsbu.ac.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-03-05 04:02:19 +01:00
Michael Kerrisk 736bedf67b sigprocmask.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-26 11:15:26 +01:00
Michael Kerrisk d5dd3a91dc Removed trailing white space at end of lines 2010-02-26 05:45:27 +01:00
Michael Kerrisk 513051f769 add_key.2, keyctl.2, request_key.2, stime.2, time.2, ctime.3, difftime.3, ftime.3, getspnam.3, mq_receive.3, mq_send.3, rtime.3, sem_wait.3, string.3, timeradd.3, tzset.3, rtc.4, core.5, icmp.7, time.7, zic.8: Updated .TH timestamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-25 10:43:57 +01:00
Michael Kerrisk 4509c62e84 keyctl.2: New page documenting keyctl(2)
Taken from keyutils-1.1 package.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-25 08:29:42 +01:00
Michael Kerrisk 6dd17d2301 request_key: New page documenting request_key(2)
Taken from keyutils-1.1 package.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-25 08:29:02 +01:00
Michael Kerrisk 2e2f82fc2a add_key.2: New page documenting add_key(2)
Taken from keyutils-1.1 package.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-25 08:24:00 +01:00
Michael Kerrisk 38271a2dc6 sched_setscheduler.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-21 15:18:42 +01:00
Michael Kerrisk 821c035685 setuid.2: Remove crufty statement that seteuid() is not in POSIX
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=569812

Reported-by: Ansgar Burchardt <ansgar@2008.43-1.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-21 15:14:09 +01:00
Michael Kerrisk 5d469421e6 madvise.2: srcfix: added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-21 15:14:09 +01:00
Michael Kerrisk f859dc58b6 setpgid.2: tfix
Reported-by: Kevin <tsubasa.xw@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-21 15:14:08 +01:00
Michael Kerrisk 5227ef33b5 sendfile.2: Clarify behavior when offset is NULL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-21 15:14:08 +01:00
Michael Kerrisk 763cccc52e intro.2, intro.3: Make subsection heading consistent with other intro.? pages
These pages used "Copyright Terms"; the other intro.? pages
used "Copyright Conditions". Make these pages like the others.

Reported-by: Yuri Kozlov <yoray@komyakino.ru>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-03 06:14:26 +01:00
Michael Kerrisk a113440ce6 clock_getres.2: Update text on nonsetabble CLOCK_*_CPUTIME_ID clocks
SUSv3 permits, but does not require CLOCK_THREAD_CPUTIME_ID and
CLOCK_PROCESS_CPUTIME_ID to be settable.
See http://bugzilla.kernel.org/show_bug.cgi?id=11972.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-03 04:27:11 +01:00
Christoph Hellwig db3e674548 sync_file_range.2: Add some big warnings re data integrity
This system call is by design completely unsuitable for any data
integrity operations.  Make that very clear in the manpage.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-17 05:44:25 +01:00
Michael Kerrisk ef2e066053 stime.2, time.2, difftime.3, rtime.3, core.5: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-17 04:58:36 +01:00
Michael Witten f49c451a62 stime.2, time.2, utimensat.2, ctime.3, difftime.3, ftime.3, getspnam.3, mq_receive.3, mq_send.3, rtime.3, sem_wait.3, strftime.3, strptime.3, timeradd.3, rtc.4, core.5, proc.5, icmp.7, time.7: Global fix: Consistently define the Epoch
All definitions of the Epoch have been refactored to the following:

  1970-01-01 00:00:00 +0000 (UTC)

That form is more consistent, logical, precise, and internationally
recognizable than the other variants.

Also, some wording has been altered as well.

Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-17 04:55:05 +01:00
Michael Witten 750d65df7d stime.2, strftime.3, tzset.3, zic.8: GMT -> UTC (where appropriate)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 19:17:39 +01:00
Michael Kerrisk bd74a87338 prctl.2, putgrent.3, strcat.3, strcpy.3, console_ioctl.4: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:56:17 +01:00
Michael Kerrisk 3b777affca close.2, epoll_create.2, epoll_ctl.2, fcntl.2, madvise.2, mmap.2, mremap.2, select_tut.2, setgid.2, setuid.2, syscalls.2, vmsplice.2, dlopen.3, fts.3, getpw.3, stdio.3, fd.4, initrd.4, random.4, sd.4, bootparam.7, capabilities.7, cpuset.7, epoll.7, inotify.7, man.7, socket.7, x25.7: Global fix: s/re-/re/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "re-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:45:23 +01:00
Michael Kerrisk 310672d6b1 ioctl_list.2, mount.2, select_tut.2, stat.2, getifaddrs.3, pthread_cleanup_push_defer_np.3, pthread_getcpuclockid.3, proc.5, bootparam.7: Global fix: s/sub-/sub/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "sub-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:36:10 +01:00
Michael Kerrisk 488007e867 nanosleep.2: minor: Remove unneeded word "non-blocked"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:30:49 +01:00
Michael Kerrisk 60b9e97c05 ioperm.2, setresuid.2, tcp.7: GLobal fix: s/non-privileged/unprivileged/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:29:41 +01:00
Michael Kerrisk c95853ae66 chown.2, statfs.2: Global fix: /non-superuser/unprivileged user/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:26:41 +01:00
Michael Kerrisk f38d8f717e sigaction.2, sigprocmask.2, inet_ntop.3: wfix: s/non-null/non-NULL/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:25:31 +01:00
Michael Kerrisk 00b08db3b4 clone.2, ptrace.2, setuid.2, statvfs.2, ulimit.3, nologin.5: Global fix: s/non-root/unprivileged/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:24:09 +01:00
Michael Kerrisk 24b74457e7 accept.2, access.2, acct.2, clock_nanosleep.2, mbind.2, mincore.2, remap_file_pages.2, sched_setscheduler.2, set_mempolicy.2, splice.2, stat.2, syslog.2, timer_create.2, timerfd_create.2, truncate.2, fenv.3, ferror.3, fflush.3, fgetwc.3, fgetws.3, flockfile.3, fputwc.3, fputws.3, fread.3, getopt.3, gets.3, getwchar.3, glob.3, iconv.3, longjmp.3, pow.3, printf.3, puts.3, putwchar.3, regex.3, rpc.3, scanf.3, setjmp.3, termios.3, unlocked_stdio.3, wcswidth.3, hd.4, rtc.4, st.4, core.5, dir_colors.5, elf.5, proc.5, arp.7, ascii.7, boot.7, bootparam.7, charsets.7, futex.7, ip.7, iso_8859-11.7, man-pages.7, man.7, mdoc.samples.7, path_resolution.7, pipe.7, posixoptions.7, unicode.7, unix.7, uri.7, utf-8.7, ld.so.8: s/non-/non/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:20:12 +01:00
Michael Kerrisk f74bac5df4 spu_create.2, getopt.3, passwd.5: Global fix: s/non-existing/nonexistent/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:04:12 +01:00
Michael Kerrisk 44732c9c88 sendfile.2, wctrans.3, wctype.3, pipe.7, zic.8: Global fix: s/Non-/Non/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:02:43 +01:00
Michael Kerrisk b28f6e5645 prctl.2, fmtmsg.3, gethostbyname.3, getnameinfo.3: Global fix: s/non-recoverable/nonrecoverable/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:01:12 +01:00
Michael Kerrisk fb0e9c4809 mincore.2, remap_file_pages.2, random.3: Global fix: s/non-linear/nonlinear/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:58:03 +01:00
Michael Kerrisk ffa1b462e4 timer_settime.2: s/non-zero/nonzero/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:57:16 +01:00
Michael Kerrisk a6712802e2 getitimer.2, termios.3: Gloabl fix: s/non-canonical/noncanonical/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:54:51 +01:00
Michael Kerrisk cfea513249 getitimer.2, getrusage.2, times.2, utimensat.2, pthread_create.3, pthreads.7, utf-8.7: Global fix: s/non-conform/nonconform/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:48:00 +01:00
Michael Kerrisk 657316c092 msgop.2, semop.2, lgamma.3, tgamma.3, mdoc.samples.7: Global fix: s/non-positive/nonpositive/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:47:13 +01:00
Michael Kerrisk d603cc27b6 execve.2, fallocate.2, futex.2, sched_rr_get_interval.2, select_tut.2, shmget.2, timer_getoverrun.2, times.2, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_cleanup_push_defer_np.3, pthread_getattr_np.3, pthread_self.3, pthread_setaffinity_np.3, pthread_tryjoin_np.3, sem_open.3, stdin.3, rtc.4, tty_ioctl.4, unix.7: Global fix: s/non-portable/nonportable/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:46:09 +01:00
Michael Kerrisk 2fda57bd09 _syscall.2, accept.2, epoll_create.2, inotify_add_watch.2, ioctl.2, msgget.2, msgop.2, open.2, prctl.2, sched_setscheduler.2, semctl.2, semget.2, swapon.2, addseverity.3, cacosh.3, csqrt.3, dirfd.3, drand48.3, fputws.3, mq_send.3, posix_openpt.3, puts.3, sched_getcpu.3, shm_open.3, sqrt.3, sysconf.3, tgamma.3, ulimit.3, credentials.7, svipc.7: Global fix: s/non-negative/nonnegative/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:44:48 +01:00
Michael Kerrisk ff40dbb354 accept.2, connect.2, eventfd.2, flock.2, open.2, posix_fadvise.2, read.2, recv.2, sched_setscheduler.2, select_tut.2, send.2, signalfd.2, splice.2, timerfd_create.2, write.2, flockfile.3, mkfifo.3, mq_notify.3, mq_open.3, pthread_tryjoin_np.3, scanf.3, random.4, ddp.7, epoll.7, fifo.7, ip.7, pipe.7, socket.7, spufs.7: Global fix: s/non-blocking/nonblocking/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:43:10 +01:00
Michael Kerrisk aa79648125 mbind.2, rename.2, sched_setscheduler.2, set_mempolicy.2, syslog.2, argz_add.3, dlopen.3, scanf.3, strtod.3, strtok.3, tcgetpgrp.3, hd.4, cpuset.7, regex.7, ld.so.8: Global fix: s/non-empty/nonempty/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:41:47 +01:00
Michael Kerrisk c7094399ad intro.1, time.1, adjtimex.2, capget.2, eventfd.2, fcntl.2, getrlimit.2, getsockopt.2, gettimeofday.2, intro.2, ioctl_list.2, ioperm.2, mlock.2, pivot_root.2, poll.2, prctl.2, ptrace.2, sched_setscheduler.2, select_tut.2, semget.2, sigaltstack.2, signalfd.2, sysctl.2, timer_settime.2, timerfd_create.2, wait.2, CPU_SET.3, argz_add.3, assert_perror.3, atexit.3, backtrace.3, bcmp.3, clearenv.3, ctime.3, dl_iterate_phdr.3, dlopen.3, ecvt.3, errno.3, error.3, ether_aton.3, exit.3, fenv.3, ferror.3, finite.3, flockfile.3, fnmatch.3, fpathconf.3, fpclassify.3, ftime.3, ftok.3, ftw.3, fwide.3, getaddrinfo.3, gethostbyname.3, getlogin.3, getnameinfo.3, getnetent.3, getopt.3, getprotoent.3, getrpcent.3, getservent.3, glob.3, hsearch.3, inet.3, isalpha.3, iswalnum.3, iswalpha.3, iswblank.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, longjmp.3, lsearch.3, malloc.3, matherr.3, mblen.3, mbsinit.3, mbtowc.3, on_exit.3, printf.3, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3, pthread_attr_setstack.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_equal.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_setaffinity_np.3, pthread_setcancelstate.3, pthread_setconcurrency.3, pthread_setschedparam.3, pthread_setschedprio.3, ptsname.3, putenv.3, putgrent.3, raise.3, rcmd.3, regex.3, rexec.3, rpc.3, rpmatch.3, rtnetlink.3, scandir.3, sem_init.3, setaliasent.3, setbuf.3, setenv.3, setjmp.3, signbit.3, stdio_ext.3, strtod.3, strtol.3, strtoul.3, system.3, termios.3, timeradd.3, tzset.3, ualarm.3, wctomb.3, xdr.3, st.4, tty_ioctl.4, core.5, elf.5, proc.5, bootparam.7, capabilities.7, icmp.7, ip.7, ipv6.7, math_error.7, mdoc.samples.7, mq_overview.7, pthreads.7, raw.7, regex.7, socket.7, tcp.7, tzselect.8: Global fix: s/non-zero/nonzero/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:40:55 +01:00
Michael Kerrisk c8f2dd479b accept.2, execve.2, futimesat.2, getresuid.2, getrlimit.2, madvise.2, mq_getsetattr.2, msgctl.2, nice.2, open.2, poll.2, setresuid.2, shmctl.2, sigaction.2, times.2, utimensat.2, __setfpucw.3, atoi.3, endian.3, err.3, euidaccess.3, fenv.3, fopencookie.3, fpurge.3, getgrouplist.3, getutmp.3, j0.3, lgamma.3, netlink.3, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_cleanup_push_defer_np.3, pthread_getattr_np.3, pthread_kill_other_threads_np.3, pthread_setaffinity_np.3, pthread_tryjoin_np.3, pthread_yield.3, random_r.3, readdir.3, rtnetlink.3, scanf.3, setenv.3, significand.3, sigsetops.3, strerror.3, strstr.3, sysv_signal.3, termios.3, timegm.3, unlocked_stdio.3, y0.3, locale.5, bootparam.7, feature_test_macros.7, ip.7, locale.7, pthreads.7, rtld-audit.7, nscd.8: Global fix: s/non-standard/nonstandard/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:40:20 +01:00
Michael Kerrisk 7111f89ff2 open.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-05 17:49:46 +01:00
Michael Kerrisk a417046130 madvise.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-05 17:20:52 +01:00
Colin Watson 9ec8f8605e execve.2: Fix description of treatment of caught signals
Caught signals reset to their default on an execve() (not
to being ignored).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-05 15:07:22 +01:00
Michael Kerrisk 7cc796ee52 faccessat.2, fchmodat.2, fchownat.2, fstatat.2, futimesat.2, linkat.2, mkdirat.2, mknodat.2, openat.2, readlinkat.2, renameat.2, symlinkat.2, unlinkat.2, utimensat.2, mkfifoat.3: Update feature test macro requirements
Starting in glibc 2.10, defining _XOPEN_SOURCE >= 700,
or _POSIX_C_SOURCE >= 200809 exposes the declarations of
these functions.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-13 22:54:45 +01:00
Michael Kerrisk 43ada5d427 madvise.2: scrfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-11-27 08:17:35 +01:00
Michael Kerrisk 715e4bec08 setreuid.2: Add more detail on POSIX.1 specification for these syscalls
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-17 07:35:40 +02:00
Michael Kerrisk b033d60f29 seteuid.2: Note unstandardized behavior for effective ID
PSOIX.1 doesn't require that the effective ID can be changed
to the same value it currently has (a no-op). The man page
should note this, since some other implementations
don't permit it.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-17 07:06:46 +02:00
Andries E. Brouwer 130b2e49b1 clone.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-17 06:39:02 +02:00
Michael Kerrisk 7a8fe6a940 setgid.2: Fix EPERM error description
s/effective group ID/real group ID/
This bug lived in man pages for 15 years before Jason
spotted it! I checked back in Linux 1.0, and the behavior
was as the fixed man page describes.

Reported-by: Jason Noakes <jjnoakes@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-17 06:36:12 +02:00
Michael Kerrisk 1eef2ba881 fcntl.2: s/F_OWNER_GID/F_OWNER_PGRP/
Peter Zijlstra took the name change I suggested.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-17 06:00:04 +02:00
Michael Kerrisk dd164bfcd5 fcntl.2: Document F_[SG]ETOWN_EX; update details on F_SETOWN
Linux 2.6.32 adds F_SETOWN_EX and F_GETOWN_EX.
Linux 2.6.12 changed (broke) the former behavior of
F_SETOWN with respect to threads.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-03 17:23:31 +02:00
Michael Kerrisk 2843ba93d4 stat.2, posix_fallocate.3, proc.5, tcp.7, udp.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-30 03:28:34 +02:00
Michael Kerrisk c440fe01d3 clone.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:30 +02:00
Michael Kerrisk e4f09fd444 timer_getoverrun.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:30 +02:00
Nicolas François bdfd22665a stat.2: Fix small bug in example program
Since it is a failure, EXIT_FAILURE looks more appropriate
than EXIT_SUCCESS.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:29 +02:00
Nicolas François a4d45bc1b9 semctl.2: Remove some redundant words
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:29 +02:00
Nicolas François 5feae95791 move_pages.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:29 +02:00
Nicolas François 64f6ff57b8 epoll_ctl.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:29 +02:00
Michael Kerrisk 17b7878618 sigaction.2: Minor fixes
Minor grammar fixes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:29 +02:00
Michael Kerrisk a8974b6de4 getdomainname.2: Minor change
s/current processors/host system/, which is a little clearer.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:28 +02:00
Nicolas François 3f1a745d44 timer_settime.2: Minor fixes
Fix typos:
 * duplicate the
 * curr_value is a pointer
 * misplaced 'a'.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas François 37f0c8322e timer_create.2: Minor fixes
Add missing parenthesis
Explicitly indicate that conditions are ORed.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas François ec28c6b988 stat.2: Minor fixes
Fix to formatting issues:
 * remove ending tabulation
 * add missing parenthesis

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas François b6a046323e set_thread_area.2: Minor fixes
set_thread_area is a system call, not a library function.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:24 +02:00
Nicolas François dc99a2a724 select_tut.2: Minor fixes
Wording and spelling fix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:24 +02:00
Nicolas François c9065be1c4 sched_setaffinity.2: Minor fixes
Consistency for references to manpages

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:24 +02:00
Nicolas François 22e7039097 recv.2: Minor fixes
Fix some formatting typos
 * the period should be in Roman font
 * .RP does not exist, it should be .RB

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:24 +02:00
Nicolas François 073161a3f0 mount.2: Minor fixes
There was too many verbs in the last part of the sentence.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:24 +02:00
Nicolas François ced55c9139 mbind.2: Minor fixes
there should be no commas here.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François 2c1c0a319a get_thread_area.2: Minor fixes
get_thread_area.2 is a system call.
Other manpages seems to differentiate functions (i.e. (g)lib(c) functions)
and system calls. This make it more consistent.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François 5c03d6b181 get_mempolicy.2: Minor fixes
There should be no comma here.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François f7bf69adcc getdents.2: Minor fixes
2 typos:
 * Wrong end of comments
 * etx3 should be ext3

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François 5541fa5210 fcntl.2: Minor fixes
Just a formatting typo.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François 8ce39f8681 clone.2: Minor fixes
"PID namespace" is what is new.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François 5113b11a03 epoll_ctl.2: tfix: This patch fixes a formatting typo.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:21 +02:00
Michael Kerrisk 76a34baa39 mmap.2: Add brief documentation of MAP_HUGETLB
This flag is new in 2.6.32, and serves a similar
purpose to the shmget() SHM_HUGETLB flag.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:21 +02:00
Christoph Hellwig 015221eff8 open.2: add some comments on O_SYNC and friends
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:21 +02:00
Michael Kerrisk a38dc43a2d setpgid.2: Add an explanation of orphaned process groups
Reported-by: Georg Sauthoff <gsauthof@techfak.uni-bielefeld.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:20 +02:00
Michael Kerrisk 6b34fb3f5a execve.2, pipe.2, tee.2, fmemopen.3, mq_notify.3, qsort.3: Replace use of assert() by code that checks argc
See http://bugzilla.kernel.org/show_bug.cgi?id=13569

As noted by Andrey:
The purpose of the assert macro, defined in <assert.h>,
is to provide a tool to check for programming mistakes
or program logic errors. However, the assert macro must
never be used to perform checks for run time errors,
since, with the NDEBUG macro defined, expressions within
the assert macro invocations are not evaluated/checked
for, resulting in behavior that was not originally intended.
...
The pages affected in the core package are

execve(2)
pipe(2)
tee(2)
fmemopen(3)
mq_notify(3)
qsort(3)

Reported-by: Andrey Vihrov <vihrov@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:19 +02:00
Michael Kerrisk 3392d76d6f kill.2: wfix: add missing word to NOTES
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543686.

Reported-by: Marc Lehmann <debian-reportbug@plan9.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:19 +02:00
Michael Kerrisk d8dfbff93f poll.2: Clarify wording describing of 'nfds' argument.
reported by: rui rlex <rui.rlex@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:19 +02:00
Mark Hills 52520fb570 splice.2, tee.2, vmsplice.2: Fix return type
Since glibc 2.7, the return type for these functions
is ssize_t (formerly it was long).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:18 +02:00
Michael Kerrisk 8749bd1a31 umount.2: glibc only exposes MNT_DETACH and MNT_EXPIRE since version 2.11
See http://sourceware.org/bugzilla/show_bug.cgi?id=10092

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-03 06:07:57 +02:00
Michael Kerrisk 835c57e9cc umount.2: glibc only exposes MNT_DETACH and MNT_EXPIRE since version 2.11
See http://sourceware.org/bugzilla/show_bug.cgi?id=10092

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-03 06:06:54 +02:00