summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale
Commit message (Collapse)AuthorAgeFilesLines
* Back out the `hiding' of strlcpy and strlcat. Several peoplenectar2003-05-011-3/+1
| | | | vocally objected to this safety belt.
* `Hide' strlcpy and strlcat (using the namespace.h / __weak_referencenectar2003-04-291-1/+3
| | | | | | | technique) so that we don't wind up calling into an application's version if the application defines them. Inspired by: qpopper's interfering and buggy version of strlcpy
* When called with s == NULL, behave as if wc == L'\0' as required by thetjr2003-04-101-1/+3
| | | | standard.
* According to C99 decimal_point can't be the empty string, mention it.ache2003-03-201-1/+2
|
* decimal_point can't be "" according to C99, so set it to standard "."ache2003-03-201-1/+6
| | | | in that case.
* MFp4: Implementations of the wcstof() and wcstold() functions.tjr2003-03-134-10/+195
|
* Fix a bad free() call that would occur if some #if 0'd code was used.tjr2003-02-221-4/+6
|
* Whack 28 unused variables.nectar2003-02-181-1/+1
|
* The .Fn functioncharnier2003-02-062-2/+2
|
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-1/+1
| | | | especially in troff files.
* mdoc(7) police: Deal with self-xrefs.ru2002-12-241-1/+0
|
* mdoc(7) police: "The .Fa argument.".ru2002-12-191-0/+1
|
* mdoc(7) police: Fixed abuses of the .Ar and .Em macros.ru2002-12-182-2/+2
|
* mdoc(7) police: "The .Fn function".ru2002-12-182-0/+4
|
* Capitalize ASCII code names.ru2002-12-051-7/+7
| | | | Approved by: re
* mdoc(7) police: sweep.ru2002-11-2915-88/+92
|
* mdoc(7) police: sweep.ru2002-11-291-1/+1
|
* libc_r wasn't so tied to libc for 22 months.ru2002-11-181-3/+1
|
* Add cross references to mbrtowc(3) and wcrtomb(3).tjr2002-11-101-1/+3
|
* Don't check whether the first byte of the buffer is a null byte whentjr2002-11-101-7/+1
| | | | the buffer has zero length (n == 0).
* Describe the `n' and `ps' arguments to mbrlen().tjr2002-11-091-2/+17
|
* Typo: pointer to -> pointed totjr2002-11-091-1/+1
|
* Use wide character ctype functions directly instead of relying ontjr2002-11-091-2/+2
| | | | 4.4BSD extensions to the single-byte ctype functions.
* Add a missing return statement for the pwcs == NULL case (XSI extension).tjr2002-11-091-0/+1
|
* Add two additional references to the See Also section, which contain muchtjr2002-10-301-2/+16
| | | | better descriptions of UTF-8 and related issues.
* Remove unnecessary inclusion of <rune.h> to make it obvious that this filetjr2002-10-291-1/+0
| | | | does not use the deprecated rune system.
* Handle boundary cases more correctly; mblen(s, 0) and mbtowc(NULL, s, 0)tjr2002-10-282-8/+6
| | | | | | | return -1 regardless of what s points to, mbtowc(&w, s, 1) sets w to a null wide character when s points to a null byte. This seems to be closer to what most other implementations do, but the C99 standard contradicts itself for these cases.
* Do not include <sys/syslimits.h> directly; it is not intended for generalwollman2002-10-271-1/+2
| | | | consumption.
* Style sweep.tjr2002-10-275-40/+32
|
* Use an internal buffer for the result when the first argument is NULL.tjr2002-10-251-0/+4
|
* Avoid truncating invalid wide characters that are outside the range oftjr2002-10-161-1/+8
| | | | 'unsigned char'; signal an error instead.
* FA, FB and FC are lead bytes according to recent Microsoft documentation.tjr2002-10-141-1/+1
|
* Style changes. Mainly removing excessive whitespace and parens.tjr2002-10-141-24/+29
|
* Cosmetic: use LCMONETARY_SIZE_{FULL,MIN} defines like in other placesache2002-10-121-4/+5
|
* Add a UTF-8 encoding method, which will eventually replace the antiquetjr2002-10-1010-9/+349
| | | | | | | "UTF2" method. Although UTF-8 and the old UTF2 encoding are compatible for 16-bit characters, the new UTF-8 implementation is much more strict about rejecting malformed input and also handles the full 31 bit range of characters.
* Add support for the 6 new C99 struct lconv members dealing with formattingtjr2002-10-094-4/+76
| | | | | | | | | international monetary values: int_p_cs_precedes, int_n_cs_precedes, int_p_sep_by_space, int_n_sep_by_space, int_p_sign_posn, int_n_sign_posn. This should not break existing binaries or LC_MONETARY data files. Reviewed by: ache MFC after: 1 month
* Add a note to the Compatiblity section suggesting that these functionstjr2002-10-0613-13/+162
| | | | | only be used for byte values. Add cross-references to the wide-char counterparts.
* Remove rants/whines about the rune interface being superior to thetjr2002-10-061-16/+2
| | | | ISO C interface.
* Remove a completely incorrect statement from the Return Values section.tjr2002-10-061-5/+6
| | | | Add cross-references to the restartable mulitybte functions (mbrlen(3) etc.)
* Improve three instances of questionable or confusing grammar.tjr2002-10-031-5/+8
|
* Add an example.tjr2002-10-031-1/+22
|
* Document towlower() and towupper() in separate manual pages instead oftjr2002-10-033-24/+89
| | | | | trying to confusingly document both on the same page. The new manual pages are based on tolower(3) and toupper(3) instead of the old towlower(3).
* Point out that although toupper() and tolower() really accept rune_t'stjr2002-10-032-4/+28
| | | | | and not just unsigned char's, callers should use towupper() and towlower() instead when working with wide characters if portability is a concern.
* towlower() appeared twice in the synopsis; one of the occurrences shouldtjr2002-10-031-3/+3
| | | | | | have been towupper(). Add towupper() to the Name section while I'm at it. Obtained from: NetBSD (junyoung)
* Add an Examples section with an example of how to use the functions.tjr2002-10-033-3/+54
|
* Warn when setinvalidrune() is referenced for consistency with the resttjr2002-09-241-0/+1
| | | | | of the rune functions (except sgetrune() and sputrune(), which are really macros).
* Add the remaining C99 wide character string to integer conversion functions.tjr2002-09-226-16/+550
| | | | | Restrict qualifiers were added to the existing prototypes in <inttypes.h> and the typedef for wchar_t was removed.
* Deprecate the rest of the rune interface.tjr2002-09-182-0/+22
|
* Mark mbmb(), mbrune(), and mbrrune() as deprecated functions. We want totjr2002-09-182-0/+19
| | | | | | get applications to move to the ISO C interfaces as well as have the freedom to replace the rune interfaces with ones that support stateful conversions some time in the future.
* Add wcstod() as a wrapper around strtod(). It does not handle any characterstjr2002-09-153-2/+162
| | | | that strtod() does not (alternate digit characters, etc. are not handled).
OpenPOWER on IntegriCloud