Commit Graph

3598 Commits

Author SHA1 Message Date
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
Peng Haitao 60ca99eea8 memfrob.3: ATTRIBUTES: Note function that is thread-safe
The function memfrob() 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 e7c6dacda7 memcpy.3: ATTRIBUTES: Note function that is thread-safe
The function memcpy() 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 c4313c2cd0 memcmp.3: ATTRIBUTES: Note function that is thread-safe
The function memcmp() 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:18 +01:00
Michael Kerrisk 62cb654a91 fts.3: Tweaks to Christoph Hellwig's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 12:37:18 +01:00
Christoph Hellwig 350fcda8d7 fts.3: The fts(3) does not work with LFS builds
As pointed out during a recent discussion on libc-hacker the
fts(3) APIs can't be used with large file offsets:

    https://sourceware.org/bugzilla/show_bug.cgi?id=15838

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 12:37:18 +01:00
Michael Kerrisk 3b7aa6b116 cacosh.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-17 08:46:34 +01:00
Michael Kerrisk e9f22b0ac0 Removed trailing white space at end of lines 2014-03-11 22:33:19 +01:00
Michael Kerrisk 4ab0a73af9 gethostbyname.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-11 22:33:01 +01:00
Michael Kerrisk 9ac2ee45bb qecvt.3: Recommend snprintf(3) not sprintf(3)
Reported-by: Joseph S. Myers <joseph@codesourcery.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-11 22:32:14 +01:00