Commit Graph

2659 Commits

Author SHA1 Message Date
Walter Harms 88eafb6e7a sem_wait.3: EXAMPLE: Remove extraneous line of output from shell session
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-12 06:11:51 +13:00
Michael Kerrisk a7bd22c67a scanf.3: tfix
Reported-by: Alain Benedetti <alainb06@free.fr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-03 08:03:16 +13:00
Michael Kerrisk 4be34a4d1d wcslen.3: tfix
Reported-by: carado <carado@savhon.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-03 08:03:09 +13:00
Michael Kerrisk 5d83f9cd34 gets.3: Document C11 and glibc 2.16 changes affecting gets()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-01-18 14:28:10 +13:00
Michael Kerrisk 037f4132fb readdir.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-01-17 16:27:21 +13:00
Michael Kerrisk 3c81e148a2 wcsnrtombs.3, wcsrtombs.3, wcstombs.3: Fix-ups for e9c23bc636
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-16 08:07:31 +02:00
Michael Kerrisk 11d6f170ed wcpcpy.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-16 07:51:22 +02:00
David Prévot a845750068 wcrtomb.3: ffix
Signed-off-by: David Prévot <taffit@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-16 07:20:04 +02:00
Michael Kerrisk 4a905b9294 pthread_sigmask.3: Fix comment that was inconsistent with code in example program
Reported-by: Pat Pannuto <pat.pannuto@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-16 07:13:19 +02:00
Michael Kerrisk c409c4ffa3 Removed trailing white space at end of lines 2011-10-04 08:34:28 +02:00
Michael Kerrisk 4de52db8a1 aio_cancel.3: Clarify meaning of "return status" and "error status"
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-04 07:41:01 +02:00
Michael Kerrisk 83f9759dd3 aio_write.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-04 07:39:16 +02:00
Michael Kerrisk 3696a917ce aio_read.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-04 07:38:35 +02:00
Michael Kerrisk 5503c85ea4 intro.1, fork.2, futex.2, open.2, rename.2, select_tut.2, semop.2, spu_create.2, stat.2, netlink.3, random.3, scanf.3, shm_open.3, strftime.3, console.4, console_codes.4, sk98lin.4, st.4, bootparam.7, cpuset.7, credentials.7, man-pages.7, path_resolution.7, uri.7: Global fix: remove spaces around em-dash
Normal English typographical convention is not to have
spaces around em dashes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-03 08:47:35 +02:00
Michael Kerrisk a43aff682b stdio.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-03 08:46:17 +02:00
Michael Kerrisk 6aee2853e2 netlink.3: wfix
Reported-by: Kevin Lyda <kevin@ie.suberic.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-03 07:53:16 +02:00
Kevin Lyda 5aaf78b7bd termios.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-03 07:45:24 +02:00
Michael Kerrisk 1f04081f19 gets.3: POSIX.1-2008 marks gets() obsolescent
The page formerly erroneously stated that POSIX.1-2008
removed the specification of this function.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-01 06:53:36 +02:00
Michael Kerrisk d9a8bda4e2 mbsnrtowcs.3, wcpcpy.3, wcpncpy.3, wcsnlen.3, wcsnrtombs.3: CONFORMING TO: Add POSIX.1-2008
These functions are specified in the POSIX.1-2008 revision.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-01 06:28:29 +02:00
Michael Kerrisk 82f4ea0183 strdup.3: CONFORMING TO: strndup() is in POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-01 06:21:22 +02:00
Mike Frysinger f4d305c99e strcpy.3: SEE ALSO: Add stpncpy(3)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-29 06:29:00 +02:00
Mike Frysinger 268a3684a8 stpcpy.3, stpncpy.3: Note that these functions are in POSIX.1-2008
Update the "CONFORMING TO" sections of these functions to
note that they are now part of the POSIX.1-2008 standard.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-29 06:28:46 +02:00
Michael Kerrisk a2834faa85 getsubopt.3: Minor wording improvement
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 06:36:36 +02:00
Michael Kerrisk fa233003f8 sysconf.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 06:28:31 +02:00
Michael Kerrisk ad3fd4c0e3 execve.2, recv.2, getaddrinfo.3, getcwd.3, getipnodebyname.3, getlogin.3, mbsinit.3: Global fix: s/null pointer/NULL pointer/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 06:25:05 +02:00
Michael Kerrisk 71d9e7ae77 gets.3, mbtowc.3, printf.3, puts.3, scanf.3, stpcpy.3, stpncpy.3, strcat.3, strlen.3, strnlen.3, strsep.3, strstr.3, strxfrm.3, utmp.5: Global fix: consistent use of "null byte"
Bring more consistency to the discussion of
"[terminating] null byte"
by writing (at least in the initial use in a page)
"[terminating] null byte ('\0')".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 06:20:52 +02:00
Michael Kerrisk e9c23bc636 fgetws.3, fputws.3, mbrtowc.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscat.3, wcscpy.3, wcslen.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcsrtombs.3, wcsstr.3, wcstok.3, wcstombs.3, wcwidth.3: Global fix: consistent use of "null wide character"
Bring more consistency to the discussion of
"[terminating] null wide character"
by writing (at least in the initial use in a page)
"[terminating] null wide character (L'\0')".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 06:20:52 +02:00
Michael Kerrisk 24511dc14f wcslen.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 05:29:45 +02:00
Michael Kerrisk 1dcfd0de17 wcrtomb.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 05:26:32 +02:00
Michael Kerrisk 635793f3f3 bzero.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 05:12:10 +02:00
Michael Kerrisk cebca1bd40 flock.2, recv.2, btree.3, dbopen.3, des_crypt.3, fts.3, mpool.3, recno.3: Global fix: use ORing
Use "ORing", not "OR'ing", nor an italic ".IR OR ing".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 05:06:37 +02:00
Michael Kerrisk 836830b4c9 readlink.2, getsubopt.3, termcap.5, tzfile.5, unix.7: srcfix: change single quote to "\(aq"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 04:56:17 +02:00
Michael Kerrisk 4e83614439 clock_getres.2, clone.2, mbind.2, set_mempolicy.2, atan2.3, getipnodebyname.3, ilogb.3, lgamma.3, elf.5, capabilities.7, math_error.7: srcfix: Remove double space
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-27 05:17:10 +02:00
Michael Kerrisk 371b557b97 ldexp.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-27 05:16:25 +02:00
Michael Kerrisk aa198ef96f stpncpy.3: Change "terminating null" to "terminating null byte"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-27 05:12:41 +02:00
Michael Kerrisk c47df0d3b2 regex.3: Change "terminating null" to "terminating null byte"
Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-27 05:09:31 +02:00
Michael Kerrisk 1c1a8c025c getline.3: tfix
Rep[orted-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-27 05:07:24 +02:00
Denis Barbier 0cf28c348c hsearch.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-26 19:31:55 +02:00
Michael Kerrisk a032492ea9 pthread_sigqueue.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:40:55 +02:00
Michael Kerrisk fe48639fc3 set_mempolicy.2, getcwd.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:17:13 +02:00
Michael Kerrisk 5238ea2cfc getaddrinfo_a.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:15:41 +02:00
Michael Kerrisk b18e759d8c fstatat.2, rt_sigqueueinfo.2, sendfile.2, hsearch.3, matherr.3, rtld-audit.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:11:27 +02:00
David Prévot fb30b09644 lseek.2, inet_pton.3, tzfile.5: tfix
Please find attach a consistency fix: there were only five
"zeroes" but twenty four "zeros" in those manual pages.
(Make all instances "zeros".)

Signed-off-by: David Prévot <taffit@debian.org>
2011-09-23 07:02:06 +02:00
Michael Kerrisk 38be53abdf wctob.3: Remove crufty text left by last commit
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 09:44:01 +02:00
Michael Kerrisk da8a154e7e btowc.3, wctob.3: Add pointers to better, thread-safe alternative functions
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606899

btowc(3) says:

    This function should never be used.  It does not work for
    encodings which have state, and unnecessarily treats single
    bytes differently from multibyte sequences.  Use the
    function mbtowc() instead.

but mbtowc(3) says:

    The function mbrtowc(3) provides a better interface to the
    same functionality.

Obviously, btowc(3) should not suggest a non-optimal interface; it
should instead suggest mbrtowc.  This is also true for the pair
wctob(3) and wctomb(3).

Reported-by: Brian M. Carlson <sandals@crustytoothpaste.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 06:38:49 +02:00
Michael Kerrisk a82893d222 wcsnlen.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-21 08:40:16 +02:00
Jon Grant 1c1c2c1031 wcsnlen.3: Improve description of 'maxlen' argument
It's worth clarifying 'maxlen' is in wide-char units, not bytes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-21 07:03:27 +02:00
Michael Kerrisk 098ad1323e index.3: Fix text mentioning terminating null
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-21 06:59:45 +02:00
Michael Kerrisk d4b94904d2 sigqueue.3: SEE ALSO: Add rt_sigqueueinfo(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-19 17:32:54 +02:00
Michael Kerrisk 485ab7013e getrlimit.2, kill.2, rt_sigqueueinfo.2, sigaction.2, signal.2, signalfd.2, sigprocmask.2, sigwaitinfo.2, psignal.3, pthread_sigqueue.3, credentials.7, signal.7: Change reference to "sigqueue(2)" to "sigqueue(3)"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-19 17:32:53 +02:00