Commit Graph

258 Commits

Author SHA1 Message Date
wiz fef6221a07 Hyphenate nul-terminate. 2006-10-16 09:10:40 +00:00
wiz d65511ddb3 Mark up NULL. 2006-10-16 09:10:29 +00:00
wiz aba3ac5c73 kleink reminded me in a friendly way that "NULL" is the C API
synonyme for a "null pointer" and that there is no "NULL pointer".
2006-10-16 08:42:16 +00:00
christos a8756e84f2 prevent empty else. 2006-10-15 16:14:08 +00:00
wiz f80b348714 Consistency: NULL pointer, but nul character. 2006-10-14 07:51:01 +00:00
wiz 641d5b8a5c nul, not null (for the character). 2006-10-14 07:44:58 +00:00
tnozaki 65b88fc7e0 PR/30809 added manpages of wcswcs(3) and wcscoll(3), wcsxfrm(3)
(wcs?width and wprintf are already in repository).
2006-10-13 17:28:09 +00:00
tnozaki dbae970b16 use wcstombs/mbstowcs instead of wcsrtombs/mbsrtombs
for performance of non-C/POSIX locale.
2006-10-04 14:19:16 +00:00
wiz ffda6b7e64 Bump date for previous. 2006-08-08 17:32:56 +00:00
wiz e003ee3619 Add RCS Id. 2006-08-08 17:32:05 +00:00
wiz 81b12ac32b Quote some characters for HTML output. 2006-08-08 17:31:35 +00:00
tnozaki 8d8d8b951d - wcstombs.3
correct wrong prototype,
    reported by OpenBSD's PR 5171/library.
- wcsrtombs.3
    correct wrong prototype and misusage of the header file.
2006-08-08 17:14:05 +00:00
tnozaki a55e9cdf1a fix lib/33476:
added following manpages (derived from FreeBSD),
    wcwidth(3) wcswidth(3)
    wcstol(3) wcstoll(3) wcstoimax(3)
    wcstoul(3) wcstoull(3) wcstoumax(3)
  and update doc/TODO.i18n.
2006-06-03 04:36:43 +00:00
wiz e29be3b11f Some serial commas. 2006-04-23 16:44:00 +00:00
wiz bb197ac232 We are not NeyBSD. 2006-04-23 16:43:10 +00:00
christos 2c277d7a8d namespace protect wcstod too, and fix the protection in wcstold and wcstof. 2006-04-16 17:03:32 +00:00
tnozaki 2771536f25 for compiling problems, remove wcstod -> wcstold weak ref.
noticed by Mr, Matt Fleming and Tsutsui-san, thanks.
2006-04-16 16:34:20 +00:00
tnozaki 96c958955a wcstod(3) is conform to ISO C90 Ammendant1 (FreeBSD's manpage is incorrect...).
don't __weak_alias'ize it and fix manpage.
2006-04-15 15:34:34 +00:00
tnozaki f9de1ba57e add c99 wcstof(3) and wcstold(3).
requested by skrll AT netbsd DOT org, thanks.

bump libc minor 138 -> 139.
2006-04-15 12:17:22 +00:00
tnozaki 9d0aec986d replaced by FreeBSD version wcstod(3) for make it work
with L"inf", L"nan", and hex conversion.
suggested by jeorg AT netbsd DOT org, thanks.
2006-04-13 01:25:13 +00:00
tnozaki 08db232b12 completely broken, make it works. 2006-04-11 14:24:37 +00:00
christos 359eb8d732 Coverity CID 571: Remove dead code. 2006-03-19 02:54:38 +00:00
christos 39ff648553 Coverity CID 778: Avoid NULL deref. 2006-03-19 02:44:27 +00:00
tnozaki f87e6eb1f0 make "locale -a" read locale.alias file. 2006-02-16 19:19:49 +00:00
yamt 6efd91c498 constify and remove an __UNCONST. 2005-12-02 11:10:45 +00:00
christos 03256c6e55 WARNS=4 2005-11-29 03:11:58 +00:00
christos 0ea555f2ce It is bogus to return EFAULT in userland. 2005-10-19 22:57:03 +00:00
wiz 2c320bdf02 Use backslash+e for a literal backslash. 2005-10-03 19:20:53 +00:00
gdt 13d60a911d Escape backslash (in \n) in example program so that it appears
correctly in formatted output.  Now the example program can be
cut/pasted/compiled.
2005-10-02 14:24:41 +00:00
wiz 0fd61eded9 Fix pasto, noted by Marc Espie. 2005-06-27 14:18:36 +00:00
lukem 88c3eadbfa Add missing __RCSID() 2005-06-12 05:21:25 +00:00
kleink fb4f51453b Add some pedantry to exceptions from being equivalent to strftime. 2005-04-06 21:39:17 +00:00
wiz 215d79769a Add man page for wcsftime from FreeBSD. 2005-03-30 10:15:12 +00:00
christos eb808713b7 PR/29826: J. T. Conklin: Add wcsftime(3) (from FreeBSD) 2005-03-30 03:47:11 +00:00
tnozaki 7aab8c378d considering huge character set(ucs, gb18030),
use not linear but binary search.
this change derrived from recent FreeBSD's rune.
2005-02-10 19:19:57 +00:00
kleink fd5cb0acea A little libc namespace housekeeping exercise:
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
  fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(),
  uuid_create_nil(), uuid_is_nil(), and wcwidth().
* Include namespace.h where supposed to.
2005-02-09 21:35:46 +00:00
yamt f659b39d81 correct a function prototype. 2004-09-27 07:07:04 +00:00
tshiozak 09e09c2c2c make sure CITRUS=no to work. 2004-07-21 20:27:46 +00:00
tshiozak f1849eeaba - add support for "/force" symbol on locale.alias.
- a bit clean-up.
2004-07-21 18:51:30 +00:00
tshiozak 7b7f96b642 add prototype for load_locale_sub(). 2004-07-21 17:49:49 +00:00
tshiozak 335bc6323f add support for locale.alias file. 2004-07-21 14:18:16 +00:00
itojun 5e700978a6 fix missing license. 2004-06-21 21:20:05 +00:00
kleink 95e4d0d7af Need namespace.h for internal names of strdup, strlcpy. 2004-05-09 11:26:33 +00:00
wiz cef0afe940 Lots of grammar and wording changes from jmc@openbsd, with some
additional consistency changes by me.
2004-01-24 16:58:54 +00:00
jmmv be85fac5e9 Fix typo: 'Each characters' -> 'Each character' 2004-01-21 12:40:14 +00:00
agc 40069685c3 Make this compile, and, as a side-effect, LP64 clean. 2004-01-06 11:29:30 +00:00
itojun 12eeb195bb kill strcpy 2004-01-06 08:08:44 +00:00
itojun 35f883b08a KNF 2004-01-02 21:49:35 +00:00
wiz dca9ccd375 Use St -isoC-9X instead of St -isoC9X, to be in sync with groff. 2003-09-08 17:54:31 +00:00
agc eb7c1594f1 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00