Commit Graph

2453 Commits

Author SHA1 Message Date
Michael Kerrisk 3e72368940 cos.3: errno is now correctly set to EDOM on a domain error
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6780
was (silently) resolved.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 17:03:53 +02:00
Michael Kerrisk 707a25b2d5 lgamma.3: glibc 2.10 fixed pole error bug
http://sourceware.org/bugzilla/show_bug.cgi?id=6777
was (silently) resolved.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 16:22:04 +02:00
Michael Kerrisk 1f6982a0db atanh.3: glibc 2.10 fixed pole error bug
http://sourceware.org/bugzilla/show_bug.cgi?id=6759
was resolved.

Reported-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reported-by: Jan Kratochvil  <jan.kratochvil@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 16:13:24 +02:00
Michael Kerrisk 36f9a7fea1 ffs.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 06:33:34 +02:00
Michael Kerrisk a9c6f6589e ffs.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 06:33:13 +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 636036b6b1 readdir.3: Clarify that "positive error numbers" are listed in ERRORS
Reported-by fkater@googlemail.com
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 07:43:12 +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 090e0f8c7d rexec.3: SYNOPSIS: Add header file and feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 06:58:38 +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
Michael Kerrisk be0349596f insque.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-09 09:54:35 +02:00
Michael Kerrisk 60f4b757b2 insque.3: Noted prev == NULL bug in glibc 2.4 and earlier
As noted by Remi Denis-Courmont, glibc nowadays allows
'prev' to be NULL, as required by POSIX for initializing
a linear list. But in glibc 2.4 and earlier, 'prev' could
not be NULL. Add a BUGS section noting this.

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

Reported-by: Remi Denis-Courmont <remi@remlab.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-09 09:46:29 +02:00
Michael Kerrisk d26b92899b insque.3: Added example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-09 09:46:10 +02:00
Michael Kerrisk e413450ebf insque.3: Added info on circular lists, and initializing circular lists
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-09 09:45:35 +02:00
Michael Kerrisk c1d4c8a31e insque.3: Added information on circular lists, and example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-09 09:44:31 +02:00
Michael Kerrisk 0a96a9f072 pthread_kill_other_threads_np.3: CONFORMING TO: Note meaning of "_np" suffix
Reported-by: Denis Silakov <silakov@ispras.ru>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-09 08:10:51 +02:00
Michael Kerrisk 583dc9ac63 pthread_getattr_np.3: grfix
Reported-by: Denis Silakov <silakov@ispras.ru>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-09 08:07:04 +02:00
Michael Kerrisk 72542487e7 getaddrinfo.3, getipnodebyname.3, initrd.4, st.4: minor: update timestamps
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-09-04 07:19:26 +02:00
Michael Kerrisk 78ca89ac9a mq_send.3: Fix EAGAIN description (s/empty/full)
Reported-by: Peter Stuge <peter@stuge.se>
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-31 06:22:19 +02:00
Michael Kerrisk 38254b5489 getsubopt.3:Minor wording fix ("null byte")
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 08:57:21 +02:00
Peng Haitao 4c6267515f a64l.3: Fix error in NOTES, s/a64l/l64a/
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 08:20:19 +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
Michael Kerrisk 5f14486cd6 ctime.3: wfix
Reported-by: TAN Yee Fan <tanyeefa@comp.nus.edu.sg>
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:18:28 +02:00
Michael Kerrisk f1bb2402a6 error.3: grfix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:12:51 +02:00
Michael Kerrisk 97a21066e9 error.3: ffix
Reported-by: Linus Nilsson <lajnold@gmail.com>
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:11:14 +02:00
Linus Nilsson 4bcba56480 error.3: Change "perror" to "strerror" in DESCRIPTION of error()
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:10:24 +02:00
Martin Schulze f047598807 statvfs.3: minor: Fix section number in .TH line
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:01:44 +02:00
Michael Kerrisk b7d6564bc2 getipnodebyname.3: s/logical OR/bitwise OR/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-26 11:32:18 +02:00
Michael Kerrisk 9ccbb26ca7 CPU_SET.3: Small fixes to langauage around OR, AND, and XOR operations
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-26 11:31:31 +02:00
Michael Kerrisk 414ed40ccf getaddrinfo.3: s/logical O/bitwise OR/
Reported-by: Scott Walls <sawalls@umich.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-26 11:21:14 +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 dec96d20ea getpass.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 04:05:35 +02:00
Michael Kerrisk 35292c5da1 termios.3: tsamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 04:04:57 +02:00
Michael Kerrisk 6e502d4782 termios.3: Change NOFLSH text to speak of characters, not signals
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 04:04:05 +02:00
Michael Kerrisk 7065c4f7fc fenv.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 04:00:34 +02:00
Michael Kerrisk ec92bd800a mkstemps.3, mkostemps.3: New links to mkstemp.3
mkstemp.3 now describes mkstemps(3) and mkostemps(3).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 05:21:34 +02:00
Michael Kerrisk 5f58cee871 mkstemp.3: Document mkstemps() and mkostemps()
These functions are new in glibc 2.11. They allow the template
string to include a suffix after the "XXXXXX" string.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 05:19:44 +02:00
Michael Kerrisk a9f50aa383 resolver.3: Fix declaration of dn_comp() in SYNOPSIS
Remove the second 'exp_dn' from the calling signature.

Reported-by: Gernot Tenchio <gernot@tenchio.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 23:20:21 +02:00
Christian Franke af4a01eb57 getaddrinfo.3: Fix a field name mixup: s/ai_family/ai_flags/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 22:54:52 +02:00
Michael Kerrisk b8b3976603 fstatvfs.3: New link to page relocated to Section 3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:55:06 +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
Jan Engelhardt be62f42148 log.3, log10.3, log2.3: Add cross-references to other-base logarithmic functions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 04:40:35 +02:00
Michael Kerrisk 8b3f5f5989 openpty.3: Explicitly note that these functions are not in POSIX
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 03:47:33 +02:00
Michael Kerrisk 49c32f8f9c openpty.3: Note glibc version that added "const" to function arguments
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 03:45:46 +02:00
Michael Kerrisk ba65815c96 openpty.3: srcfix: remove redundant comment from source
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 03:43:44 +02:00
Eric Blake 671c2ab44b openpty.3: Use const as appropriate
Signed-off-by: Eric Blake <ebb9@byu.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 03:40:51 +02:00
Michael Kerrisk 70bf963fb5 getline.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 15:07:51 +02:00
Robert Wohlrab 7a4a822133 getline.3: Remove unneeded check before free()
The manpage of getline shows an example with an extra NULL pointer check
before it calls free. This is unneeded according to free(3):

     If ptr is NULL, no operation is performed.

This patch removes the "if" check.

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

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 15:05:02 +02:00
Michael Kerrisk 9f864ad204 getline.3: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 15:00:57 +02:00
Michael Kerrisk 9b50d25153 getline.3: wsfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:59:07 +02:00
Michael Kerrisk ca90d3f8b6 cproj.3: Note fix for C99 conformance in glibc 2.12.
Reported-by: Tolga Dalman <tdalman@project-psi.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:12 +02:00
Michael Kerrisk 743e7eb306 ftw.3: Note that if 'fn' changes CWD, the results are undefined
Reported-by: Pierre Habouzit <madcoder@madism.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:12 +02:00
Michael Kerrisk 84112433e2 fmemopen.3: Bug fix in example program
Reported-by: Walter Harms <wharms@bfs.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:11 +02:00
Michael Kerrisk e409862f64 ftw.3: Clarify description of fpath argument
As reported by Pierre Habouzit, 'fpath' is not relative
to 'dirpath'. It is either relative to the calling process's
current working directory (if 'dirpath' was relative), or it
is absolute (if 'dirpath' was absolute).

Reported-by: Pierre Habouzit <madcoder@madism.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 16:33:23 +02:00
Michael Kerrisk 77a2c39741 fopencookie.3: tfix
Reported-by: Martin (Joey) Schulze <joey@infodrom.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 15:18:03 +02:00
Petr Baudis 2419294d22 crypt.3: Correct note on key portion significance
As Marcel Moreaux notes:

    The Linux manpage for crypt()[1] contains the following
    statement as the last sentence of the NOTES section:

        In the SHA implementation the entire key is significant
        (instead of only the first 8 bytes in MD5).

    It should probably say "DES" where it says "MD5" (and maybe
    "MD5/SHA" where it says "SHA"), because in MD5 password hashing,
    the entire key is significant, not just the first 8 bytes.

This patch fixes the wording.

Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 04:15:28 +02:00
Petr Baudis 682b505435 opendir.3: Specify feature test macro requirements for fdopendir(3)
Currently, there is no note on the fact that fdopendir() is
POSIX.2008-only.

Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 04:06:30 +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
Ivana Hutarova Varekova 7d0db56ed2 sysconf.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-22 05:27:11 +02: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
Vlastimil Babka 1b6ece463f CPU_SET.3: SYNOPSIS: Fix return types for CPU_COUNT_*()
These functions return 'int' not void'.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-21 15:14:09 +01:00
Michael Kerrisk a3aef2a245 getprotoent.3: tfix
Reported-by: Ihar Hrachyshka <ihar.hrachyscka@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-21 15:14:08 +01:00
Michael Kerrisk d6f53dcc30 undocumented.3: Remove pages now documented
By now, the following are documented:

fopencookie(3)
freeifaddrs(3)
rawmemchr(3)
readdir_r(3)
getutmp(3)
getutmpx(3)
utmpxname(3)

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

Reported-by: Bella Lubkin <filbo@armory.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-21 15:13:58 +01:00
Michael Kerrisk e313308d80 confstr.3: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-03 06:27:46 +01:00
Michael Kerrisk 963904cdc8 popen.3: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-03 06:26:40 +01:00
Jonathan Nieder 0b8ff5561c getopt.3: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-03 06:20:45 +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
Bill O. Gallmeister 87209bbe4e sleep.3: Add nanosleep(2) to SEE ALSO
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-03 05:58:37 +01:00
Bill O. Gallmeister 1bfdc3cbc1 sleep.3: sleep() puts calling *thread* to sleep (not calling *process*)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-03 05:57:56 +01:00
Denis Barbier 3ab624b6cf pthread_attr_setdetachstate.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3: Argument name is 'attr' not 'thread'
The function argument was misnamed in the DESCRIPTION on these
three pages.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-03 04:48:15 +01:00
Michael Witten a0c811713d strftime.3: Move 822-compliant date format example to EXAMPLES section
The RFC 822-compliant date format given in the description
of `%z' is now moved to the `EXAMPLES' section (note: `EXAMPLE'
has been renamed `EXAMPLES').

Furthermore, that format example is now actually
RFC 822-compliant (using `%y' instead of `%Y') and has been
qualified as being correct only when in the context of at least
an English locale. Also, `%T' is used in place of `%H:%M:%S'.

For completeness, an RFC 2822-compliant format example has been
similarly added.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-17 05:28:13 +01:00
Michael Witten db74fcddde strftime.3: Expand introductory text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-17 05:02:38 +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 Kerrisk 884266b8f1 strftime.3: %z is defined in SUSv3
So, substitute "GNU" tag in man page by "SU".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 19:26:57 +01:00
Michael Witten f37678fe33 strftime.3: Clarification of %z specifier
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 19:23:49 +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 6f60ee752d strftime.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 19:08:33 +01:00
Michael Witten 464ba7fc4c tzset.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 19:05:25 +01:00
Michael Kerrisk 3cb6bf9af9 fts.3: grfix
Reported-by: Michael Witten: <mfwitten@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 19:00:04 +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 ae03dc6613 getaddrinfo.3, setlocale.3, strchr.3, wctob.3, st.4, glob.7, locale.7, regex.7, standards.7, unicode.7, utf-8.7: Global fix: s/multi-/multi/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "multi-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:47:55 +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 01d0a44739 ftw.3, resolver.3, issue.5, proc.5, pty.7, suffixes.7: Global fix: s/pre-/pre/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "pre-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:41:29 +01:00
Michael Kerrisk 3bcc429c75 fts.3: wfix: s/pre-order/preorder/; s/post-order/postorder/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:40:08 +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 f52bc8cd16 perror.3: wfix: s/non-erroneous/successful/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:32:45 +01:00
Michael Kerrisk 7f2a75373b wordexp.3: wfix: s/unescaped/nonescaped/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:27:39 +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 74cee55939 strtoul.3: grfix: s/non-negated/nonnegated/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:20:55 +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 54d75d6c14 getgrent_r.3, gethostbyname.3, getmntent.3, getnetent_r.3, getprotoent_r.3, getpwent_r.3, getrpcent_r.3, getservent_r.3, getspnam.3: Global fix: s/non-reentrant/nonrentrant/
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:55:51 +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 509718c075 rtnetlink.3: Various fixes in example code
Edward reported a problem in the example code, where a variable
seems to be misnamed. Upon inspection, there seem to be a few
such instances, and this patch is my best guess at how things
should look.

Reported-by: Edward Welbourne <eddy@opera.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:27:35 +01:00
Tobias Stoeckmann dfacdd0a3d dlopen.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-31 18:16:00 +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 6a56bbb532 sched_getcpu.3: Place correct header file in SYNOPSIS
Reported-by: Samy Al Bahra <sbahra@repnop.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-08 02:29:14 +01:00
Michael Kerrisk ac049785a2 nextafter.3: Fix notable error in DESCRIPTION.
"less than y" should be "less than x".

Reported-by: Jann Poppinga <jann.poppinga@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 15:08:00 +01:00
Michael Kerrisk 6deb7a03ce getline.3: Update to reflect that these functions were standardized in POSIX.1-2008
Reported-by: Mike Frysinger <vapier@gentoo.org>
Reported-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 14:58:09 +01:00
Michael Kerrisk 51a492bdd0 daemon.3: Fix description of 'nochdir' argument.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554819

Reported-by: Frdric Brire <fbriere@fbriere.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 14:39:32 +01:00
Mark Hills 513785e299 string.3: Add stpcpy() to this list of string functions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 07:40:42 +01:00
Michael Kerrisk 7e6b1afb45 strptime.3: Initialize tm structure in example program
Reported-by: Doug Manley <doug.manley@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 06:49:17 +01:00
Michael Kerrisk 183d08ce41 fopencookie.3: tfix
Reported-by: Stuart Kemp <skemp@alertlogic.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 06:11:59 +01:00
Mark Hills 2cd33eb56c strcpy.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 06:03:25 +01:00
Michael Kerrisk 13a7959b69 memchr.3: Add feature text macro requirements for memrchr()
Reported-by: Markus Peuhkuri <puhuri@iki.fi>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 04:55:33 +01:00
Michael Kerrisk c162db87db pthread_join.3: wfix: s/pthread_create/pthread_join/
Reported-by: Sam Liao <phyomh@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 15:44:01 +01:00
Yuri Kozlov 1f79eca5ac getaddrinfo.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 15:36:19 +01:00
Michael Kerrisk 42afc4076c getpwnam.3: tfix
Reported-by: <sunjiangangok@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 15:17:53 +01:00
Michael Kerrisk a10ab4c695 getnameinfo.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 13:57:42 +01:00
Michael Kerrisk f87ab54768 gethostbyname.3: Document feature test macro requirements for herror() and hstrerror()
Since glibc 2.8, one of _BSD_SOURCE, _SVID_SOURCE,
or _GNU_SOURCE is required.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 13:54:24 +01:00
Michael Kerrisk 0d4b699de2 getnameinfo.3: Document feature test macros requirements for NI_MAXHOST and NI_MAXSERV
Since glibc 2.8, one of _BSD_SOURCE, _SVID_SOURCE, or _GNU_SOURCE
must be defined to obtain these definitions.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 13:54:16 +01:00
Michael Kerrisk 17e5e6779a Removed trailing white space at end of lines 2009-09-30 03:34:51 +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
Nicolas Franois e46256a48c strftime.3: Fix error in description: s/Monday/Thursday/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:31 +02:00
Nicolas Franois 315dc3cd78 posix_fallocate.3: Fix reference to POSIX.1-2008
The sentence mentions twice POSIX.1-2001.
I guess the second one should be POSIX.1-2008.
This should be checked in the standard.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:30 +02:00
Nicolas Franois 7391478f8b updwtmp.3: Minor fixes
Spelling fix (s/utmp/wtmp/)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas Franois 8856a9dc45 readdir.3: Minor fixes
Spelling fix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas Franois 3849d36538 pthread_getattr_np.3: Minor fixes
Spelling fix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas Franois 4b200bd5f8 pthread_attr_setstack.3: Minor fixes
* pthread_attr_setstacksize was cut&pasted.
* The stacksize argument can be compared to PTHREAD_STACK_MIN, not the
  stackaddr address.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:22 +02:00
Nicolas Franois 6316fce396 pthread_getcpuclockid.3: Minor fixes
Looking at the man page, this is not a family of functions.
So "returns" is right, "functions" should be "function".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:22 +02:00
Nicolas Franois bf4cfa6627 man3/opendir.3, pthread_attr_setaffinity_np.3, man3/pthread_setaffinity_np.3: Minor fixes
The word "function" is missing (or "The" should be removed?).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:21 +02:00
Michael Kerrisk aec4704f6d exit.3: Add a pointer to explanation of orphaned process groups in setpgid(2)
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 2a4b81ffd4 setenv.3: Improve ERRORS section
Add ENOMEM error; improve EINVAL description. Also, make
RETURN VALUE section a little more accurate in its mention
of errno.

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 ed35aae690 printf.3: wfix
Reported-by: Aaron Gardner <aaron.j.gardner@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:19 +02:00
Mike Frysinger e8418d6da8 getmntent.3: setmntent() argument is 'filename' not 'fp'
The description of setmntent() formerly used the wrong
argument name.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:19 +02:00
Michael Kerrisk 19f56c70d3 getaddrinfo.3: wfix: s/result/res/ in text describing argument
Reported-by: rui rlex <rui.rlex@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:18 +02:00
Michael Kerrisk add478c172 getaddrinfo.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:18 +02:00
Michael Kerrisk f9d5775ff8 getaddrinfo.3: Note nonstandard assumed hints.ai_flags value when hints is NULL
When hints is NULL, glibc assumes hints.ai_flags is
AI_V4MAPPED|AI_ADDRCONFIG whereas POSIX says 0.
According to Ulrich Drepper, glibc's behavior is better.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:18 +02:00
Michael Kerrisk 2b64c171eb fflush.3: fflush() discards buffered input
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:13 +02:00
Michael Kerrisk a385e7d797 ffs.3: Clarify that ffsl() and ffsll() are GNU extensions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-08-27 11:18:19 +02:00
Michael Kerrisk c3665d565f pthread_setschedparam.3: tfix
Reported-by: Leslie P. Polzer <sky@viridian-project.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-08-02 14:00:49 +02:00
Michael Kerrisk e80aa4d865 Removed trailing white space at end of lines 2009-07-25 08:51:28 +02:00
Michael Kerrisk 906472fd29 getifaddrs.3: tfix: remove extraneous semicolon in example program
Reported-by: ku roi <kuroibox@yahoo.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:31:03 +02:00
Michael Kerrisk 73e15b46d1 lockf.3: Clarify relationship between fcntl() and lockf() locking
Reported-by: Tolga Dalman <tdalman@project-psi.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:31:02 +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 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
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 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
Mark Hills 08eaa638df closedir.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-28 16:53:42 +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
Florentin Duneau dbb433dc4f longjmp.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 14:44:29 +12:00
Michael Kerrisk 9434e739be psignal.3: srcfix: Added FIXME 2009-04-20 17:51:37 +12:00
Michael Kerrisk 6a5cd0e832 pthread_getconcurrency.3: New link to new pthread_setconcurrency(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-16 03:56:02 +12:00
Michael Kerrisk 354fd38dca pthread_setconcurrency.3: New page documenting pthread_setconcurrency(3) and pthread_getconcurrency(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-16 03:56:02 +12:00
Michael Kerrisk fa94592df1 pthread_yield.3: New page documenting pthread_yield(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-16 03:55:53 +12:00
Michael Kerrisk db85058b5f getgrnam.3, getpwnam.3: srcfix: note that glibc 2.7 fixes error handling for "not found" case
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-01 08:30:46 +13:00
Michael Kerrisk f2a5733ca5 getcwd.3, makecontext.3, mq_notify.3: tstamp 2009-03-31 10:07:16 +13:00
Michael Kerrisk d611514893 rpc.3, xdr.3: spfix: s/in-line/inline/ (consistent with majority usage)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-31 09:23:02 +13:00
Michael Kerrisk 8ea4ea950c mq_notify.3: Document the POSIX.1-2008 optional EINVAL error
POSIX.1-2008 allows an optional EINVAL error if
notification==NULL and the caller is not currently
registered to receive notifications.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-31 05:09:58 +13:00
Michael Kerrisk 0d244df1c1 posix_memalign.3: srcfix: added comment about memalign() for size==0 case 2009-03-30 15:10:42 +13:00
Michael Kerrisk b6dd683a54 posix_memalign.3: Document handling of size==0 case for posix_memalign()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 15:01:48 +13:00
Michael Kerrisk 642ff1cc5e sem_post.3: Document EOVERFLOW error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 14:55:55 +13:00
Michael Kerrisk 1480fa812e posix_fallocate.3: Document POSIX.1-2001 and POSIX.1-2008 specifications for EINVAL error
See http://bugzilla.kernel.org/show_bug.cgi?id=12919

Reported-by:  Eelco Dolstra <dolstra@tudelft.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 14:16:38 +13:00
Michael Kerrisk 0c4dba9305 posix_fallocate.3: Clarify that EINVAL also occurs of 'len' *equals* zero
See http://bugzilla.kernel.org/show_bug.cgi?id=12919

Reported-by:  Eelco Dolstra <dolstra@tudelft.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 14:09:17 +13:00
Michael Kerrisk 48e4cfa0de getgrent.3, getgrnam.3, getpwent.3, getpwnam.3: Note that returned pointer should not be given to free()
Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 12:37:43 +13:00
Michael Kerrisk 03e40141bf getgrent.3: Returned buffer may be statically allocated and overwritten by later calls
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 12:21:02 +13:00
Michael Kerrisk f2ac73c7dc getpwent.3: Returned buffer may be statically allocated and overwritten by later calls
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 12:20:51 +13:00
Michael Kerrisk c34a8ff736 getgrnam.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 11:57:50 +13:00
Michael Kerrisk 57c1b002d9 getpwnam.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 11:41:07 +13:00
Michael Kerrisk d6922779df basename.3: Note that pointers returned by these functions should not be freed
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 11:32:52 +13:00
Michael Kerrisk 90eeb47a64 readdir.3: Note that pointer returned by readdir() should not be given to free(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 11:19:47 +13:00
Michael Kerrisk 67ca98a79b pthread_equal.3: wfix: s/pthread_self/pthread_equal/
Reported-by: Simon Gomizelj <simongmzlg@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 10:44:32 +13:00
Michael Kerrisk c9980d2e56 strerror.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 09:33:27 +13:00
Nikanth Karthikesan f6beb9d7ec lockf.3: Update pointer to documentation in kernel source
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 07:27:50 +13:00
Michael Kerrisk 79bb643078 pthread_exit.3: Fix error in DESCRIPTION: s/pthread_create/pthread_exit/
Reported-by: Chunming Chang <cchang@aerohive.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 07:17:27 +13:00
Michael Kerrisk 4b9e7a8881 toascii.3: Note why POSIX.1-2008 marks this function obsolete
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:07:55 +13:00
Michael Kerrisk e3a9cc1374 sigset.3: Note APIs that POSIX.1-2008 recommends instead of these obsolete APIs
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:07:54 +13:00
Michael Kerrisk 0ae4b67fdd siginterrupt.3: Note that POSIX.1-2008 recommends sigaction() instead
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:07:54 +13:00
Michael Kerrisk 3f14817bd4 scalb.3: Note that POSIX.1-2008 recommends scalbln*(3) instead
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:07:54 +13:00
Michael Kerrisk 867a8f5dfc makecontext.3: Note that POSIX.1-2008 recommends the use of POSIX threads instead
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:07:54 +13:00
Michael Kerrisk ff9fe6df96 isalpha.3: Explain why POSIX.1-2008 marks isascii(3) obsolete
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:07:41 +13:00
Michael Kerrisk cbf4eee73f index.3: Note that POSIX.1-2008 recommends strchr(3) and strrchr(3) instead
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:59 +13:00
Michael Kerrisk aeb2174ae7 gethostbyname.3: POSIX.1-2008 recommends getaddrinfo(3) and getnameinfo(3) instead
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:58 +13:00
Michael Kerrisk 40e122bbeb getcwd.3: Note that getcwd() should be used instead of the obsolete getwd()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:58 +13:00
Michael Kerrisk 4aeb80edca ftime.3: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:58 +13:00
Michael Kerrisk fb2d6d3616 gcvt.3: Note that POSIX.1-2008 recommends sprintf(3) instead of this function
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:58 +13:00
Michael Kerrisk 5a4668117d ecvt.3: Note that POSIX.1-2008 recommends sprintf(3) instead of these functions
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:58 +13:00
Michael Kerrisk 9e36b352bc ctime.3: Note that POSIX.1-2008 recommends strftime(3) instead of these functions
Reported-by: Jan Engelhardt <jengelh@medozas.de>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:58 +13:00
Michael Kerrisk 48cc3d9d8f bcopy.3: Note that POSIX.1-2008 removes specification of bcopy()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:57 +13:00
Michael Kerrisk 67bb874245 bsd_signal.3: Note that POSIX.1-2008 recommends sigaction(2) instead of this API
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:57 +13:00
Michael Kerrisk fc3c831d6b seekdir.3: SYNOPSIS: Fix type of 'offset' argument: s/off_t/long/
And add a NOTES section pointing out that 'off_t'
was indeed used in glibc 2.1.1 and earlier.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519230

Reported-by: Tanaka Akira <akr@fsij.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-12 15:03:41 +13:00
Michael Kerrisk 48e39fa763 telldir.3: SYNOPSIS: Fix return type: s/off_t/long/
And add a NOTES section pointing out that 'off_t'
was indeed used in glibc 2.1.1 and earlier.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519230

Reported-by: Tanaka Akira <akr@fsij.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-12 15:03:41 +13:00
Michael Kerrisk 7dcae89694 mempcpy.3, signbit.3, significand.3: Global fix: acknowledge FSF in copyright
These pages are heavily based on original material in
glibc info pages, but the comments in the source of the pages
did not acknowledge the FRF copyright on the original material.
Fix that.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-12 07:24:34 +13:00
Michael Kerrisk 6652fffac3 timeradd.3: Note that on some systems, <=, >=, == don't work for timercmp()
Reported-by: Martin Gebert <martin.gebert@alpha-bit.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:18 +13:00
Michael Kerrisk f6c92d2a5e timeradd.3: SYNOPSIS: Fix return types of timerisset() and timercmp()
Reported-by: Martin Gebert <martin.gebert@alpha-bit.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:17 +13:00
Michael Kerrisk bd8384888b shm_open.3, mq_overview.7: Recast discussion on name length to exclude terminating NULL byte
Probably it's clearer to describe the length of the IPC object
name as a count that excludes the null terminator.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:34:49 +13:00
Michael Kerrisk 590d0346d9 strftime.3: Add details on ISO 8601 week-based dates
ISO 8602 week-based dates are relevant for %G, %g, and %V,
and the existing details on these dates are a little thin.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-24 16:05:49 +13:00
Michael Kerrisk 894765f0e5 strftime.3: Remove mention of year from ISO 8601 standard
The text mentioned the 1988 8601 standard, but there have
already been two revisions of the standard since then, so
simply remove mention of the year.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-24 14:02:37 +13:00
Michael Kerrisk 3d78d77891 strftime.3: Small fix to description of %G
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516677

Reported-by: Reuben Thomas <rrt@femur.dyndns.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-24 14:02:36 +13:00
Michael Kerrisk 28d03ce9e9 daemon.3, exec.3, fmemopen.3, fopen.3, realpath.3, siginterrupt.3, strtoul.3: Minor rewordings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-23 15:34:12 +13:00
Michael Kerrisk 9e39c4da05 fflush.3: Minor rewordings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-23 15:32:28 +13:00
Michael Kerrisk 0dc60a9902 fclose.3: Minor rewordings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-23 15:27:03 +13:00
Michael Kerrisk 9d05bd16f8 getnameinfo.3: tfix
Reported-by: Leandro A. F. Pereira <leandro@tia.mat.br>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-23 14:51:28 +13:00
Michael Kerrisk a306ffff9f getlogin.3: spfix 2009-02-21 07:14:34 +13:00
Michael Kerrisk 88850fde24 getnetent_r.3: Fix function name in text: s/getnetbynumber_r/getnetbyaddr_r/
The SYNOPSIS showed the right function name (getnetbyaddr_r),
but the text repeatedly used the wrong name (getnetbynumber_r).
Probably, this was a cut-and-paste error.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-21 07:06:32 +13:00
Michael Kerrisk 88d61d8a48 syslog.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-21 06:56:43 +13:00
Michael Kerrisk 5a3b4036f6 realpath.3: spfix 2009-02-21 06:47:49 +13:00
Michael Kerrisk c49e8fc97b realpath.3: Rework resolved_path==NULL discussion w.r.t. POSIX.1-200[18]
Although the page already mentioned the resolved_path==NULL
feature, and that this feature was added in POSIX.1-2008, there
was still some crufty text in BUGS that hadn't been updated to
reflect the POSIX.1-2008 changes.

Also, some other minor wording and grammar fixes.

Reported-by: Reuben Thomas <rrt@femur.dyndns.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-21 06:40:45 +13:00
Michael Kerrisk 3683d2505b malloc_hook.3: srcfix 2009-02-21 00:19:53 +13:00
Michael Kerrisk c09cb5f47f recno.3: spfix 2009-02-21 00:19:06 +13:00
Michael Kerrisk d442cb84ea memchr.3: spfix 2009-02-21 00:17:41 +13:00
Michael Kerrisk ab186fbd11 inet.3: spfix 2009-02-21 00:16:37 +13:00
Michael Kerrisk 7ae19fdf8f memchr.3: spfix 2009-02-21 00:14:51 +13:00
Michael Kerrisk 09d7e7ebe1 clock_getcpuclockid.3, sem_open.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 20:22:00 +13:00
Jens Thoms Toerring db2fff8c01 sem_open.3: Add case of non-well-formed name to ENOENT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:31 +13:00
Michael Kerrisk 18fe47e06f sem_open.3: ERRORS: add EINVAL error where name == "/"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:31 +13:00
Michael Kerrisk 8e98475172 shm_open.3: Clarify rules for construction of shared memory object names
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:30 +13:00
Michael Kerrisk b2e7d0723e mq_open.3: ERRORS: Add EACCES error for name containing > 1 slash
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:30 +13:00
Michael Kerrisk 1e22e66618 mq_open.3: ERRORS: add ENOENT error for name == "/"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:30 +13:00
Kir Kolyshkin baf17bc4f2 Trivial punctuation fixes in SEE ALSO
In SEE ALSO, when a few man pages are referenced, those are divided by commas.
Every reference is on a separate line, and all lines but the last one should
end with comma. I spotted one place where there is no comma in between
references, and mocked up an awk script to find similar places:

for f in man*/*; do awk '/^.SH ["]SEE ALSO["]/ {sa=1; print "== " FILENAME " =="; print; next } /^\.(PP|SH)/ {sa=0; no=0; next} /^\.BR/ { if (sa==1) { print; if (no == 1) print "Missing comma in " FILENAME " +" FNR-1; no=0 } } /^\.BR .*)$/ { if (sa==1) no=1; next } /\.\\"/ {next} /.*/ { if (sa==1) { print; next }}' $f; done | fgrep 'Missing comma'

This patch fixes all the places found by the above script.

Also, there is an extra dot at the end of uri.7 "SEE ALSO" section.
Removed as per man-pages(7) recommendation.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:29 +13:00
Michael Kerrisk 8699ebd957 getitimer.2, clock_getcpuclockid.3, time.7: SEE ALSO: add timer_create(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-10 14:42:17 +13:00
Michael Kerrisk d96dea0ac8 sigwait.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 15:06:33 +13:00
Michael Kerrisk c1091bc94e scandir.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 15:06:32 +13:00
Michael Kerrisk 3e8d776c07 clock_getres.3, clock_gettime.3, clock_settime.3: srcfix: Add comment explaining why these link files exist
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:33:48 +13:00
Michael Kerrisk 3da3747663 rand.3: srcfix: remove outdated FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:01 +13:00
Michael Kerrisk 8b98f282b6 sem_wait.3: SEE ALSO: add clock_getime(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:01 +13:00
Michael Kerrisk 0eb443910b clock_nanosleep.2, getrusage.2, timerfd_create.2, clock.3, clock_getcpuclockid.3, ftime.3, pthread_create.3, pthread_getcpuclockid.3, pthread_tryjoin_np.3, sem_wait.3, time.7: Global fix: Fix xrefs to clock_*.? pages to reflect move to section 2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:00 +13:00
Michael Kerrisk ac48bb8a29 clock_getres.3: Re-create as link to new location of clock_getres page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:00 +13:00
Michael Kerrisk 58ebb7ec73 clock_gettime.2, clock_settime.2, clock_gettime.3, clock_settime.3: Update links to reflect the fact that clock_* pages are now in Section 2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:00 +13:00
Michael Kerrisk 9bdcdd5e27 clock_getres.2: Move page from Section 3 to Section 2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:00 +13:00
Michael Kerrisk 804f03e657 clock_nanosleep.2, execve.2, fork.2, nanosleep.2, sigaction.2, timerfd_create.2, pthread_getcpuclockid.3, ualarm.3, usleep.3, pthreads.7, time.7: Global fix: s/(3)/(2)/ in section number xrefs for timer_*() API
The POSIX timers API is implemented (mostly) within the kernel,
so thse interfaces are system calls.  Although there are as yet
no man pages, when they are added they should be in Section 2,
not 3.  Therefore fix those pages that currently refer to these
interfaces as being in Section 3.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:29:10 +13:00
Michael Kerrisk f6d908ca5f pthread_getcpuclockid.3: SYNOPSIS: fix type of 'thread'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:29:02 +13:00
Michael Kerrisk 3f97f5a8d1 clock_getcpuclockid.3: SEE ALSO: add pthread_getcpuclockid(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:28:54 +13:00
Michael Kerrisk 1ba3fba8a7 clock_getres.3: Document CLOCK_MONOTONIC_RAW, new in 2.6.28
(kernel commit 2d42244ae71d6c7b0884b5664cf2eda30fb2ae68)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-04 14:02:50 +13:00
Michael Kerrisk 072f467c1f significand.3: wfix 2009-02-03 21:32:43 +13:00
Michael Kerrisk a85e5d51d3 rtime.3: spfix 2009-02-03 21:30:55 +13:00
Timo Sirainen 12c667ca28 fexecve.3: Note that fexecve() depends on a mounted /proc
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514043

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 17:47:02 +13:00
Michael Kerrisk 1ed5046249 getpwnam.3: SEE ALSO: add getspnam(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 17:39:35 +13:00