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
de0f9c1cd5
locale.7: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk
5f49682efa
locale.7: Document LC_IDENTIFICATION
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk
7c57cb8027
locale.7: Document LC_MEASUREMENT
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk
ebb553379b
locale.7: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk
1981ba432b
locale.7: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk
1c59803974
locale.7: Document LC_TELEPHONE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk
798f7baf37
locale.7: Document LC_ADDRESS
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:16 +01:00
Michael Kerrisk
ba5e9ef309
locale.7: Document LC_NAME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:15 +01:00
Michael Kerrisk
0b65297e51
locale.7: Document LC_PAPER
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:15 +01:00
Michael Kerrisk
8d63e6ec34
locale.7: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:15 +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
9518a5f419
locale.7: srcfix: update FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:15 +01:00
Michael Kerrisk
fb844405b1
locale.7: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:15 +01:00
Michael Kerrisk
2fa99a6285
locale.7: Remove reference to LI18NUX2000
...
LI18NUX2000 is difficult to even find these days, and in any case
thispage does not document gettext(), so notes about gettext()
in the CONFORMING TO section here make no sense.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:15 +01:00
Michael Kerrisk
4aeed3697f
locale.7: Add subsection on POSIX.1-2008 (originally GNU) extensions to locale API
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:13:15 +01:00
Michael Kerrisk
a6ce0ba566
man-pages.7: Add preferred terms "uppercase" and "lowercase"
...
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
b4bde2e017
locale.5: SEE ALSO: add newlocale(3) + duplocale(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:12:47 +01:00
Michael Kerrisk
a8de62de23
locale.7: SEE ALSO: add newlocale(3) + duplocale(3)
...
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
Michael Kerrisk
289f790700
open.2: Clarify ELOOP error interaction with O_PATH
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 12:40:56 +01:00
Michael Kerrisk
d30344ab97
open.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 12:40:56 +01:00
Michael Kerrisk
d26f8a31f1
open.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 12:40:56 +01:00
Michael Kerrisk
80d250b469
open.2: Add other system calls and functions that are like openat()
...
fanotify_mark(2), name_to_handle_at(2), and scandirat(3) have a
directory file descriptor argument for the same reason as openat().
Also: reword the rationale for the *at() functions somewhat.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 12:39:49 +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
d41c1140ea
stat.2: SEE ALSO: add ls(1) and stat(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 12:37:18 +01:00