Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Back out the `hiding' of strlcpy and strlcat. Several people | nectar | 2003-05-01 | 1 | -3/+1 |
| | | | | vocally objected to this safety belt. | ||||
* | `Hide' strlcpy and strlcat (using the namespace.h / __weak_reference | nectar | 2003-04-29 | 1 | -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 the | tjr | 2003-04-10 | 1 | -1/+3 |
| | | | | standard. | ||||
* | According to C99 decimal_point can't be the empty string, mention it. | ache | 2003-03-20 | 1 | -1/+2 |
| | |||||
* | decimal_point can't be "" according to C99, so set it to standard "." | ache | 2003-03-20 | 1 | -1/+6 |
| | | | | in that case. | ||||
* | MFp4: Implementations of the wcstof() and wcstold() functions. | tjr | 2003-03-13 | 4 | -10/+195 |
| | |||||
* | Fix a bad free() call that would occur if some #if 0'd code was used. | tjr | 2003-02-22 | 1 | -4/+6 |
| | |||||
* | Whack 28 unused variables. | nectar | 2003-02-18 | 1 | -1/+1 |
| | |||||
* | The .Fn function | charnier | 2003-02-06 | 2 | -2/+2 |
| | |||||
* | Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, | schweikh | 2003-01-01 | 1 | -1/+1 |
| | | | | especially in troff files. | ||||
* | mdoc(7) police: Deal with self-xrefs. | ru | 2002-12-24 | 1 | -1/+0 |
| | |||||
* | mdoc(7) police: "The .Fa argument.". | ru | 2002-12-19 | 1 | -0/+1 |
| | |||||
* | mdoc(7) police: Fixed abuses of the .Ar and .Em macros. | ru | 2002-12-18 | 2 | -2/+2 |
| | |||||
* | mdoc(7) police: "The .Fn function". | ru | 2002-12-18 | 2 | -0/+4 |
| | |||||
* | Capitalize ASCII code names. | ru | 2002-12-05 | 1 | -7/+7 |
| | | | | Approved by: re | ||||
* | mdoc(7) police: sweep. | ru | 2002-11-29 | 15 | -88/+92 |
| | |||||
* | mdoc(7) police: sweep. | ru | 2002-11-29 | 1 | -1/+1 |
| | |||||
* | libc_r wasn't so tied to libc for 22 months. | ru | 2002-11-18 | 1 | -3/+1 |
| | |||||
* | Add cross references to mbrtowc(3) and wcrtomb(3). | tjr | 2002-11-10 | 1 | -1/+3 |
| | |||||
* | Don't check whether the first byte of the buffer is a null byte when | tjr | 2002-11-10 | 1 | -7/+1 |
| | | | | the buffer has zero length (n == 0). | ||||
* | Describe the `n' and `ps' arguments to mbrlen(). | tjr | 2002-11-09 | 1 | -2/+17 |
| | |||||
* | Typo: pointer to -> pointed to | tjr | 2002-11-09 | 1 | -1/+1 |
| | |||||
* | Use wide character ctype functions directly instead of relying on | tjr | 2002-11-09 | 1 | -2/+2 |
| | | | | 4.4BSD extensions to the single-byte ctype functions. | ||||
* | Add a missing return statement for the pwcs == NULL case (XSI extension). | tjr | 2002-11-09 | 1 | -0/+1 |
| | |||||
* | Add two additional references to the See Also section, which contain much | tjr | 2002-10-30 | 1 | -2/+16 |
| | | | | better descriptions of UTF-8 and related issues. | ||||
* | Remove unnecessary inclusion of <rune.h> to make it obvious that this file | tjr | 2002-10-29 | 1 | -1/+0 |
| | | | | does not use the deprecated rune system. | ||||
* | Handle boundary cases more correctly; mblen(s, 0) and mbtowc(NULL, s, 0) | tjr | 2002-10-28 | 2 | -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 general | wollman | 2002-10-27 | 1 | -1/+2 |
| | | | | consumption. | ||||
* | Style sweep. | tjr | 2002-10-27 | 5 | -40/+32 |
| | |||||
* | Use an internal buffer for the result when the first argument is NULL. | tjr | 2002-10-25 | 1 | -0/+4 |
| | |||||
* | Avoid truncating invalid wide characters that are outside the range of | tjr | 2002-10-16 | 1 | -1/+8 |
| | | | | 'unsigned char'; signal an error instead. | ||||
* | FA, FB and FC are lead bytes according to recent Microsoft documentation. | tjr | 2002-10-14 | 1 | -1/+1 |
| | |||||
* | Style changes. Mainly removing excessive whitespace and parens. | tjr | 2002-10-14 | 1 | -24/+29 |
| | |||||
* | Cosmetic: use LCMONETARY_SIZE_{FULL,MIN} defines like in other places | ache | 2002-10-12 | 1 | -4/+5 |
| | |||||
* | Add a UTF-8 encoding method, which will eventually replace the antique | tjr | 2002-10-10 | 10 | -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 formatting | tjr | 2002-10-09 | 4 | -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 functions | tjr | 2002-10-06 | 13 | -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 the | tjr | 2002-10-06 | 1 | -16/+2 |
| | | | | ISO C interface. | ||||
* | Remove a completely incorrect statement from the Return Values section. | tjr | 2002-10-06 | 1 | -5/+6 |
| | | | | Add cross-references to the restartable mulitybte functions (mbrlen(3) etc.) | ||||
* | Improve three instances of questionable or confusing grammar. | tjr | 2002-10-03 | 1 | -5/+8 |
| | |||||
* | Add an example. | tjr | 2002-10-03 | 1 | -1/+22 |
| | |||||
* | Document towlower() and towupper() in separate manual pages instead of | tjr | 2002-10-03 | 3 | -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's | tjr | 2002-10-03 | 2 | -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 should | tjr | 2002-10-03 | 1 | -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. | tjr | 2002-10-03 | 3 | -3/+54 |
| | |||||
* | Warn when setinvalidrune() is referenced for consistency with the rest | tjr | 2002-09-24 | 1 | -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. | tjr | 2002-09-22 | 6 | -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. | tjr | 2002-09-18 | 2 | -0/+22 |
| | |||||
* | Mark mbmb(), mbrune(), and mbrrune() as deprecated functions. We want to | tjr | 2002-09-18 | 2 | -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 characters | tjr | 2002-09-15 | 3 | -2/+162 |
| | | | | that strtod() does not (alternate digit characters, etc. are not handled). |