aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/locale/wcwidth.c
Commit message (Collapse)AuthorAgeFilesLines
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Implement xlocale APIs from Darwin, mainly for use by libc++. This adds aDavid Chisnall2011-11-201-1/+12
| | | | | | | | | | | | | | | load of _l suffixed versions of various standard library functions that use the global locale, making them take an explicit locale parameter. Also adds support for per-thread locales. This work was funded by the FreeBSD Foundation. Please test any code you have that uses the C standard locale functions! Reviewed by: das (gdtoa changes) Approved by: dim (mentor) Notes: svn path=/head/; revision=227753
* Per Regents of the University of Calfornia letter, remove advertisingWarner Losh2007-01-091-4/+0
| | | | | | | | | clause. # If I've done so improperly on a file, please let me know. Notes: svn path=/head/; revision=165903
* Implement wcwidth() as an inline function.Tim J. Robbins2004-08-121-11/+2
| | | | Notes: svn path=/head/; revision=133564
* Grab all the information we need about a character with one call toTim J. Robbins2004-05-231-7/+5
| | | | | | | __maskrune() instead of one direct call and one through iswprint(). Notes: svn path=/head/; revision=129608
* Use modern-style arguments declarationAndrey A. Chernov2002-08-191-2/+1
| | | | Notes: svn path=/head/; revision=102137
* Write null wide-character as L'\0' like in other placesAndrey A. Chernov2002-08-191-1/+1
| | | | Notes: svn path=/head/; revision=102134
* According to SUSv2, always return 0 for null wide-character codeAndrey A. Chernov2002-08-191-1/+6
| | | | Notes: svn path=/head/; revision=102124
* Move internal defines from ctype.h hereAndrey A. Chernov2002-08-191-0/+4
| | | | Notes: svn path=/head/; revision=102096
* Move wcwidth() to separate file, it doesn't belong to iswctype.c at allAndrey A. Chernov2002-08-171-0/+57
Notes: svn path=/head/; revision=102033