Commit Graph

3607 Commits

Author SHA1 Message Date
Michael Kerrisk 4d0c8feb3b netlink.3: srcfix: remove a FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-20 13:50:05 +01:00
Michael Kerrisk 03e7803544 netlink.3: SEE ALSO: make the reference for libnetlink the libnetlink(3) man page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-20 13:49:16 +01:00
Michael Kerrisk aba863afed fseeko.3: Add feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-20 08:34:52 +01:00
Michael Kerrisk eff9ff0d37 fpathconf.3: SEE ALSO: add confstr(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-20 05:48:54 +01:00
Michael Kerrisk e812955add sysconf.3: SEE ALSO: add confstr(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-20 05:48:30 +01:00
Michael Kerrisk 7117b535bd confstr.3: SEE ALSO: add getconf(1), fpathconf(3), sysconf(3), pathconf(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-20 05:47:33 +01:00
Michael Kerrisk 8c5fcd21e5 fmemopen.3, getaddrinfo.3, mq_notify.3, offsetof.3, aio.7: Print size_t/ssize_t values using %z printf() modifier
There are fewer and fewer systems these days that don't
support the %z specifier mandated in C99.  So replace the
use of %ld/%lu + (long) cast with %zd/%zu.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-19 15:09:14 +01:00
Michael Kerrisk c9c572814e fts.3: Remove mention of "32-bit systems" in BUGS
Quoting Mike F:

   i find the classic concept of "32-bit and 64-bit systems" to
   not really fit into modern world (well, it's been this way
   for much longer, so let's say "mainstream").

  would you call all ILP32 ABIs 32-bit ?  e.g. mips' n32 or
  x86's x32.  sizeof(long) == 4, but sizeof(off_t) == 8.  POSIX
  describes these as "ILP32 OFF64" while the classic 32-bit
  systems are "ILP32 OFF".

  you can (afaik) use -D_FILE_OFFSET_BITS=64 w/x32 and fts.h and
  have it work.

Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-19 14:25:56 +01:00
Michael Kerrisk af9037df2d fwide.3, wprintf.3: Remove mention of bogus _ISOC95_SOURCE feature test macro
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-19 14:22:26 +01:00
Michael Kerrisk 14e9f7cf4b fcntl.2, strtol.3, strtoul.3, socket.7: ffix in feature test macro names
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 20:17:50 +01:00
Michael Kerrisk 89851a0054 Removed trailing white space at end of lines 2014-03-18 16:29:34 +01:00
Michael Kerrisk 52d06f483d fts.3, isalpha.3, mbrtowc.3, mbsinit.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, strerror.3, strftime.3, strtol.3, strtoul.3, toupper.3, towlower.3, towupper.3, wcrtomb.3, wcsnrtombs.3, wcsrtombs.3, wcstombs.3, wctomb.3, locale.5, koi8-u.7, locale.7, uri.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 16:29:06 +01:00
Michael Kerrisk b0bcb0ad86 strerror.3: CONFORMING TO: strerror() and strerror_r() are in POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 103357f7e2 strerror.3: Document strerror_l()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 5b436d0246 strerror.3: Add SS heading for strerror_r()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk c99c14402a strerror.3: Minor clarification
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 926fc5d514 strerror.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 74cebae8e7 towupper_l.3: New link to towupper.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 15f17ec8a6 towlower_l.3: New link to towlower.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk d0f0284988 towlower.3: Document towlower_l()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk e139568f44 towupper.3: Document towupper_l()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 04b5684a63 towlower.3: Largely rewrite description of towlower() to be simpler and clearer
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 15f0518679 towupper.3: Largely rewrite description of towupper() to be simpler and clearer
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 4670051b1c wcrtomb.3, wcsnrtombs.3, wcsrtombs.3, wcstombs.3, wctomb.3: SEE ALSO: add various entries
Mainly inspired by POSIX

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 9247e95b0a mbrtowc.3, mbsnrtowcs.3, mbsrtowcs.3, mbtowc.3: Add entries in SEE ALSO
Mainly inspired by the POSIX pages.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 65789f054d mbsrtowcs.3, wcsrtombs.3: SEE ALSO: add mbsinit(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 35b0781821 mbsinit.3: SEE ALSO: mbrlen(3), mbrtowc(3), and wcrtomb(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk a810c57939 mbstowcs.3: Use "%zu" to print 'size_t' in example program
Reported-by: Stefan Puiu <stefan.puiu@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 6d1a5754de mbstowcs.3: Add example program
And add some SEE ALSO entries

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 2b8fbf09fe isalnum_l.3, isascii_l.3, isblank_l.3, iscntrl_l.3, isdigit_l.3, isgraph_l.3, islower_l.3, isprint_l.3, ispunct_l.3, isspace_l.3, isupper_l.3, isxdigit_l.3: New links to isalpha.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 72f777e708 isalpha.3: Document the "_l" locale APIs
The GNU C library v2.3 added some locale APIs, most of which
were later specified in POSIX.1-2008, namely:

       isalnum_l()
       isalpha_l()
       isblank_l()
       iscntrl_l()
       isdigit_l()
       isgraph_l()
       islower_l()
       isprint_l()
       ispunct_l()
       isspace_l()
       isupper_l()
       isxdigit_l()
       isascii_l()

Also update and correct various pieces in CONFORMING TO
(and remove a few crufty old pieces there).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 348ebe84e4 isalpha.3: srcfix: remove unneeded quotes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 0a131de67c isalpha.3: srcfix: remove unneeded formatting directives
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk 68f4e1fda9 nl_langinfo.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:15 +01:00
Michael Kerrisk efaef3dad0 duplocale.3, isalpha.3, strftime.3, strtol.3, strtoul.3, koi8-u.7, man-pages.7, mdoc.7, mdoc.samples.7, uri.7: Global change: "upper case" ==> "uppercase", "lower case" ==> lowercase"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:12:47 +01:00
Michael Kerrisk 29c94b34c6 toupper.3: Retitle BUGS section to NOTES
These are not really bugs, just background info.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:12:47 +01:00
Michael Kerrisk f6b6f86092 toupper.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:12:47 +01:00
Michael Kerrisk 0aa633abc0 toupper.3: srcfix: Added FIXME re German "sharp s"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:12:47 +01:00
Michael Kerrisk 3cc3f18ad8 toupper_l.3, tolower_l.3: New links to toupper.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:12:47 +01:00
Michael Kerrisk 9cfaf64e6f toupper.3: Document toupper_l() and tolower_l()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:12:47 +01:00
Michael Kerrisk b410b6d91a toupper.3: Rewrite to more explicitly bring locales into the discussion
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:12:47 +01:00
Michael Kerrisk aa14d1cd28 uselocale.3: New page documenting uselocale(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:12:47 +01:00
Michael Kerrisk 2af53d0c3b duplocale.3: New page documenting duplocale(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:12:47 +01:00
Michael Kerrisk 5011ec1f8d freelocale.3: New link to new newlocale.3 page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:12:47 +01:00
Michael Kerrisk 900b13de7c newlocale.3: Fixes after review by Mike Frysinger
Reviewed-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:12:47 +01:00
Michael Kerrisk 9849e5848d newlocale.3: New page documenting newlocale(3) and freelocale(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:12:47 +01:00
Peng Haitao 6c7a73808d memset.3: ATTRIBUTES: Note function that is thread-safe
The function memset() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 12:37:19 +01:00
Peng Haitao a400599296 mempcpy.3: ATTRIBUTES: Note functions that are thread-safe
The functions mempcpy() and wmempcpy() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 12:37:19 +01:00
Peng Haitao 69351e5a42 memmove.3: ATTRIBUTES: Note function that is thread-safe
The function memmove() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 12:37:19 +01:00
Peng Haitao 34a0741857 memmem.3: ATTRIBUTES: Note function that is thread-safe
The function memmem() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 12:37:19 +01:00