Commit Graph

10196 Commits

Author SHA1 Message Date
Michael Kerrisk d81d850651 link.2: When AT_EMPTY_PATH is specified, 'olddirfd' must not refer to a directory
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-19 16:29:56 +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 c55e4a8897 Changes.old: Fixes to 3.63 changelog
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 17:48:24 +01:00
Michael Kerrisk a0b7a15e80 Start of man-pages-3.64: updating Changes and Changes.old 2014-03-18 16:57:14 +01:00
Michael Kerrisk 1a3a36664e Start of man-pages-3.64: updating .Announce and .lsm files 2014-03-18 16:57:14 +01:00
Michael Kerrisk 27e24e8305 Start of man-pages-3.64: renaming .Announce and .lsm files 2014-03-18 16:57:14 +01:00
Michael Kerrisk 3623e87867 Ready for 3.63 2014-03-18 16:29:40 +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 31a28caf09 Changes: Ready for 3.63
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 16:25:10 +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 713167dc50 locale.7: SEE ALSO: add mbstowcs(3) and wcstombs(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 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