Commit Graph

6141 Commits

Author SHA1 Message Date
Michael Kerrisk 6da336d7fe fcntl.2: The kernel source file mandatory.txt is now mandatory-locking.txt
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:30:59 +02:00
Michael Kerrisk de544d7faf fcntl.2, flock.2: The Documentation/* files are now in Documentation/filesystems
Reported-by: Tolga Dalman <tdalman@project-psi.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:30:51 +02:00
Michael Kerrisk f62a64aa05 flock.2: Remove unneeded reference to Documentation/mandatory.txt
Mandatory locks are only implemented by fcntl() locking

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 07:22:37 +02:00
Mike Frysinger cdd374f8c5 futex.7: tfix: drop spurious colon in URL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 07:13:13 +02:00
Reimar Dffinger be7e81b9cb complex.7: Fix type used in example code
man complex (from release 3.18) contains the following code:
    complex z = cexp(I * pi);
Reading the C99 standard, "complex" is not a valid type, and several
compilers (Intel ICC, ARM RVCT) will refuse to compile.
It should be
    double complex z = cexp(I * pi);
instead.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 07:06:16 +02:00
Michael Kerrisk 9935c43c52 complex.7: Add missing header file for example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 07:03:17 +02:00
Michael Kerrisk 8339b8bc24 mq_overview.7: Fix example showing contents of /dev/mqueue file
Reported-by: Adrian Dewhurst <sailor@sailorfrag.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 06:36:36 +02:00
Michael Kerrisk 06ae751a05 mq_overview.7: Note that mkdir and mount commands here need superuser privilege
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 06:33:08 +02:00
Michael Kerrisk 8722311bc5 clone.2: Fix version number for CLONE_NEWIPC
It's 2.6.19, not 2.4.19.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-18 06:16:12 +02:00
Michael Kerrisk 9c9321b71b readdir.3: The d_type field is fully supported on Btrfs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-04 15:05:55 +02:00
Michael Kerrisk 6909213aa5 getdents.2: The d_type field is fully supported on Btrfs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-04 15:04:43 +02:00
Michael Kerrisk c36d05577d pthread_attr_setstackaddr.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-27 08:04:21 +02:00
Mike Frysinger c07a3ca39c setjmp.3: Fix typo and clarify RETURN description
The word "signal" was duplicated in NOTES, and the RETURN
section refers to setjmp() and sigsetjmp(), and mentions
longjmp(), but not siglongjmp().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-26 15:07:39 +02:00
Michael Kerrisk 21d995a882 mount.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-26 14:48:14 +02:00
Michael Kerrisk 02a4e226a6 mount.2: Document MS_STRICTATIME, update description of MS_RELATIME
Starting with Linux 2.6.30, the MS_RELATIME behavior became
the default, and MS_STRICTATIME is required to obtain the
traditional semantics.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-26 14:36:28 +02:00
Michael Kerrisk 577f9b624b clone.2: Rewrite crufty text about number of args in older version of clone()
Some bit rot had crept in regarding the discussion of the
    number of arguments in older versions of this syscall.
    Simplify the text to just say that Linux 2.4 and earlier
    didn't have ptid, tls, and ctid arguments.

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

    Reported-by: Shachar Shemesh <shachar@debian.org>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-21 15:30:21 +02:00
Michael Kerrisk d3dbc9b11a clone.2: Fix errors in argument names in text (ptid, ctd)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-21 15:14:28 +02:00
sobtwmxt bd16963cbe vfork.2: tfix: s/exit(2)/_exit(2)/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-21 14:38:05 +02:00
Michael Kerrisk 45f2d4eb13 sigaction.2: EWxpand description of si_utime and si_stime fields of siginfo_t
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-09 06:01:59 +02:00
Michael Kerrisk f1a291ecd0 poll.2: Remove EBADF error from ERRORS
As reported by Motohiro:

"man poll" describe this error code.

>ERRORS
>   EBADF  An invalid file descriptor was given in one of the sets.

but current kernel implementation ignore invalid file descriptor,
not return EBADF.
...

In the other hand, SUSv3 talk about

> POLLNVAL
>    The specified fd value is invalid. This flag is only valid in the
>    revents member; it shall ignored in the events member.

and

> If the value of fd is less than 0, events shall be ignored, and
> ireevents shall be set to 0 in that entry on return from poll().

but, no desribe EBADF.
(see http://www.opengroup.org/onlinepubs/009695399/functions/poll.html)

So, I think the implementation is correct.

Why don't we remove EBADF description?

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
2008-06-11 02:09:08 +02:00
Mark Hills c7a20d46be strcpy.3: SEE ALSO: Add strdup(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-06-10 10:22:21 +02:00
Michael Kerrisk cdb630a811 standards.7: Remove references to dated books
Gallmeister and Lewine are rather old books. Probably,
there are better books to consult nowadays, and anyway,
this man page isn't intended to be a bibliography.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-06-10 10:04:05 +02:00
Michael Kerrisk 0877a26bbe syscalls.2: Ad preadv() and pwritev(), new in kernel 2.6.30
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-05-06 16:43:44 +12:00
Michael Kerrisk 5a76509a2e daemon.3: Clarify discussion of 'noclose' and 'nochdir' arguments
Reported-by: Doug Goldstein <cardoe@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-05-02 16:29:00 +12:00
Michael Kerrisk 7e05b05eca daemon.3: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-05-02 16:01:21 +12:00
Michael Kerrisk 5f6f222a13 makedev.3: wfix: swap 'include' and 'define' in SYNOPSIS
Reported-by: Ricardo Garcia <rg3.zeluan@gmail.com>
Reported-by: Rui Rlex <rui.rlex@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-05-02 15:43:25 +12:00
Jeff Moyer cb6a78e664 fork.2: Document fork() behaviour for the Linux native AIO io_context
It was noted on lkml that the fork behaviour is documented
for the POSIX AIO calls, but not for the Linux native calls.
Here is a patch which adds a small blurb that folks will
hopefully find useful.

Upon fork(), the child process does not inherit the
io_context_t data structures returned by io_setup,
and thus cannot submit further asynchronous I/O or
reap event completions for said contexts.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-28 16:53:42 +12:00
Mark Hills 08eaa638df closedir.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-28 16:53:42 +12:00
Michael Kerrisk 6ebde978ef epoll_ctl.2: ffix 2009-04-27 15:26:19 +12:00
Bryan stergaard 35035b2ead rtnetlink.7: tfix: fix wording in comments for 'rtmsg' structure
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-24 13:21:27 +12:00
Lucian Adrian Grijincu df5c8d495b epoll.7: tfix: fix unfinished string in example code
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-24 13:12:53 +12:00
Gokdeniz Karadag 73ac11ee65 wait.2: Document CLD_DUMPED and CLD_TRAPPED si_code values
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 16:43:46 +12:00
Petr Baudis 52aa4b9710 memchr.3: SEE ALSO: add ffs(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 16:22:05 +12:00
Petr Baudis 02b30d94db ffs.3: SEE ALSO: add memchr(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 16:21:28 +12:00
Petr Baudis a9cbb6cf2b strcmp.3: SEE ALSO: add strverscmp(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 16:20:08 +12:00
Petr Baudis a76ca00013 fmemopen.3: NOTES: there is no file descriptor associated with the returned stream
Alexander Lamaison pointed out that this is not obvious
from the documentation, citing an example with passing the
FILE * handle to a function that tries to fstat() its
fileno() in order to determine the buffer size.

Reported-by: Alexander Lamaison <awl03@doc.ic.ac.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 16:12:05 +12:00
Petr Baudis 28c1dc49ce fmemopen.3: Relocate BUGS section to correct position
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 16:03:54 +12:00
Michael Kerrisk abaf3cfdcf fmemopen.3: CONFORMING TO: remove note that these functions are GNU extensions
That sentence is now redundant, since these functions
are added in POSIX.1-2008.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 16:02:24 +12:00
Michael Kerrisk 94ea1e9d16 stat.2: Improve wording of ENOTDIR error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 14:57:42 +12:00
Michael Kerrisk 5cf0b3b40e stat.2: wfix
Reported-by: Tolga Dalman <tdalman@project-psi.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 14:53:07 +12:00
Florentin Duneau dbb433dc4f longjmp.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 14:44:29 +12:00
Mike Frysinger 472e8c79c3 sigpending.2: tfix + wfix
Reported-by: Christopher Head <chead@telus.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 14:40:41 +12:00
Mike Frysinger c62e7abad4 execve.2: Remove erroneous statement that pending signal set is cleared on execve(2)
Reported-by: Christopher Head <chead@telus.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 14:35:39 +12:00
Michael Kerrisk 9434e739be psignal.3: srcfix: Added FIXME 2009-04-20 17:51:37 +12:00
Michael Kerrisk 2ebad1b104 Start of man-pages-3.22: updating Changes and Changes.old 2009-04-16 04:25:07 +12:00
Michael Kerrisk 4fad30c047 Start of man-pages-3.22: updating .Announce and .lsm files 2009-04-16 04:25:06 +12:00
Michael Kerrisk 79e7716f2f Start of man-pages-3.22: renaming .Announce and .lsm files 2009-04-16 04:25:05 +12:00
Michael Kerrisk be4676bddd Ready for 3.21 2009-04-16 04:04:51 +12:00
Michael Kerrisk f977e32994 Removed trailing white space at end of lines 2009-04-16 04:03:12 +12:00
Michael Kerrisk c00f5a083a Expanded tabs 2009-04-16 04:03:00 +12:00