Commit Graph

7206 Commits

Author SHA1 Message Date
Michael Kerrisk 622d2c7229 syscalls.2: Update kernel version at head of syscall list
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:48 +02:00
Michael Kerrisk c28d4af607 lockf.3: ERRORS: EBADF can also occur for nonwritable file descriptor
As noted in the DESCRIPTION, the file descriptor must be writable
in order to place a lock.

Reported-by: Mikel Ward <mikel@mikelward.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:48 +02:00
Michael Kerrisk a2f4e5a8ba time.2: NOTES: Fix description of "Seconds since the Epoch"
Reported-by: Alexander Schuch <Alex.Schuch@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:48 +02:00
Michael Kerrisk 23b903297e siginterrupt.3: Remove misleading sentence about signal(2) and system call interruption
Reported-by: Luis Javier Merino <ninjalj@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:48 +02:00
Simon Paillard c3074d7061 fallocate.2, kexec_load.2, poll.2, spu_run.2, atan2.3, cbrt.3, clock_getcpuclockid.3, end.3, frexp.3, getgrouplist.3, getifaddrs.3, matherr.3, modf.3, pow.3, pthread_getattr_np.3, pthread_getcpuclockid.3, sched_getcpu.3, tgamma.3, mouse.4, proc.5, feature_test_macros.7, spufs.7: Global fix: properly escape minus sign
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:48 +02:00
Simon Paillard 5b64c2d109 sigevent.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Simon Paillard 87f05833fb operator.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Seonghun Lim c658470df6 hsearch.3: Update ERRORS section
EINVAL can occur for hdestroy_r().
EINVAL can't occur for hcreate().
Other minor fixes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk 536bc96676 realpath.3: Fix EINVAL error
Since glibc 2.3, resolved_path can be non-NULL (with the
semantics already documented in the page).

Reported-by: Seonghun Lim <wariua@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk ec3cf7a42e mlock.2: Simplify and correct text for EPERM error
Reported-by: Seonghun Lim <wariua@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Seonghun Lim 7ac6478bdf err.3: Clean up description of error message source
In the second paragraph of DESCRIPTION section, one of the
sources of error messages is incorrect: the four functions obtain
error message only from errno, and "a code" is just relevant
with errc() and warnc(), which are not present on Linux.
see http://www.unix.com/man-page/freebsd/3/ERR/ .

Then, the third paragraph becomes a duplicate.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk 74da838c0d getrlimit.2: Fix example program and add _FILE_OFFSET_BITS requirement
Reported-by: Seonghun Lim <wariua@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk 33b7fff565 termios.3: Added description of SWTCH character
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk 489e425dfa termios.3: Add names of terminal special characters
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk 91e2779f87 termios.3: List terminal special characters in alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk a6639d0979 termios.3: Add a description of STATUS character
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk d8b24e6ee6 termios.3: Use "terminal special characters" consistently throughout page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk 49438ab7ca wcstombs.3: SEE ALSO: add mbstowcs(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk e8df1b4cc8 mbstowcs.3: SEE ALSO: add reference to wcstombs(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk e2b28c5058 strlen.3: SEE ALSO: Add strnlen(3)
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk b8f7487d1d strnlen.3: CONFORMING TO: Note that strnlen() is in POSIX.1-2008
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk c066b1699c stat.2: Small rewording of ENAMETOOLONG error
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk 869af95795 path_resolution.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk 846525aeba capabilities.7: File capabilities are no longer optional
Starting with Linux 2.6.33, the CONFIG_SECURITY_FILE_CAPABILITIES
has been removed, and file capabilities are always part of the
kernel.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk 56bf261344 socket.7: tfix
Reported-by: Nick Black <dankamongmen@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk d51529b8d5 termios.3: Add documentation of _POSIX_VDISABLE
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627841

Reported-by: Paul Evans <leonerd@leonerd.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Folkert van Heusden fd3ac44091 open.2: Remove text describing O_CLOEXEC as Linux-specific
O_CLOEXEC is specified in POSIX.1-2008, as noted
elsewhere in the page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Michael Kerrisk c080d5799a ipv6.7: Fix description of address notation: "8 4-digit hexadecimal numbers"
Reported-by: Simon Cross <hodgestar@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Michael Kerrisk c370cc1b56 readlink.2: SEE ALSO: Add readlink(1)
Reported-by: Dan Jacobson <jidanni@jidanni.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Michael Kerrisk 4f96e450e1 getrlimit.2: Remove mention of kernel versions in discussion RLIMIT_CPU
Reported-by: Ryan Mullen <rmmullen@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Mike Frysinger cb06e4a50f scandir(3): Add ENOENT/ENOTDIR errors
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Seonghun Lim d3bd4b52af arp.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Michael Kerrisk a9ddf39094 fcntl.2: Note that F_GETFL also retrieves file access mode
Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Michael Kerrisk 7959206648 fcntl.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Michael Kerrisk 6ee625ebd6 proc.5: Add description of 'SigQ' field of /proc/PID/status
Reported-by: Stan Sieler <sieler@me.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Michael Kerrisk a1bc91d55e proc.5: Add description of 'PPid' field of /proc/PID/status
Reported-by: Stan Sieler <sieler@me.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Michael Kerrisk a60450a926 clone.2: Note that CLONE_STOPPED was removed in 2.6.38
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Michael Kerrisk 0048657dcc sigaction.2: Add a little info about ucontext_t
Reported-by: Tolga Dalman <tolga.dalman@googlemail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Michael Kerrisk 6cce8340a7 sendfile.2: Remove mention of kernel version for 'in_fd' argument
Reported-by: Tolga Dalman <tolga.dalman@googlemail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Michael Kerrisk 9c60f8f487 strtoul.3: Fix NOTES section constants
Reported-by: Tolga Dalman <tolga.dalman@googlemail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Michael Kerrisk 87e5ebf9ff mprotect.2, malloc.3, signal.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Joey Adams f0d77d97ed unix.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Konstantin Ritt 37cdfc4303 sem_overview.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Johannes Laire 88d95555e4 memchr.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Seonghun Lim d9ec0c6aa9 malloc.3: Reorder prototypes in SYNOPSIS
calloc() comes before realloc() in the other sections,
so should do in SYNOPSIS, too.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Seonghun Lim 01038ebae1 perror.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Seonghun Lim 264951bb5d mkstemp.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:45 +02:00
Seonghun Lim 9470f355c4 unix.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:45 +02:00
Seonghun Lim 8c56fcecab fallocate.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:45 +02:00
Seonghun Lim e26674fe3f mkstemp.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:45 +02:00