aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/locale/tolower.c
Commit message (Collapse)AuthorAgeFilesLines
* libc: Purge unneeded cdefs.hWarner Losh2023-11-011-1/+0
| | | | | | | | | These sys/cdefs.h are not needed. Purge them. They are mostly left-over from the $FreeBSD$ removal. A few in libc are still required for macros that cdefs.h defines. Keep those. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D42385
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* libc: drop "All rights reserved" from Foundation copyrightsEd Maste2022-08-041-1/+1
| | | | | | | | | This has already been done for most files that have the Foundation as the only listed copyright holder. Do it now for files that list multiple copyright holders, but have the Foundation copyright in its own section. Sponsored by: The FreeBSD Foundation
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
| | | | | | | | | | | | | | | | | 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
* Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.Craig Rodrigues2015-09-201-5/+2
| | | | Notes: svn path=/head/; revision=288037
* Implement xlocale APIs from Darwin, mainly for use by libc++. This adds aDavid Chisnall2011-11-201-2/+17
| | | | | | | | | | | | | | | 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
* Include a couple of headers to ensure consistency between the prototype andStefan Farfeleder2005-09-121-0/+1
| | | | | | | the function definition. Notes: svn path=/head/; revision=150065
* Prefer <runetype.h> to <rune.h>, since the latter is going away soon.Tim J. Robbins2004-07-291-1/+1
| | | | Notes: svn path=/head/; revision=132820
* Prefix the names of members of _RuneLocale and its sub-structuresTim J. Robbins2004-06-231-6/+6
| | | | | | | | | with ``__'' to avoid polluting the namespace. This doesn't change the documented rune interface at all, but breaks applications that accessed _RuneLocale directly. Notes: svn path=/head/; revision=130961
* Use a binary search to find the range containing a character inTim J. Robbins2004-05-091-7/+12
| | | | | | | | | RuneRange arrays. This is much faster when there are hundreds of ranges (as is the case in UTF-8 locales) and was inspired by a similar change made by Apple in Darwin. Notes: svn path=/head/; revision=129065
* o Merge <machine/ansi.h> and <machine/types.h> into a new headerMike Barcroft2002-08-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien Notes: svn path=/head/; revision=102227
* Fix the style of the SCM ID's.David E. O'Brien2002-03-221-2/+3
| | | | | | | I believe have made all of libc .c's as consistent as possible. Notes: svn path=/head/; revision=92986
* Megre XPG4 code into libcAndrey A. Chernov2000-06-031-2/+3
| | | | Notes: svn path=/head/; revision=61218
* Fixed longstanding namespace convolution involving rune_t vs wchar_t.Bruce Evans1996-05-011-4/+2
| | | | | | | | | | | | | | If _ANSI_SOURCE or _POSIX_SOURCE is defined, then <ctype.h> had to be included before <stddef.h> or <stdlib.h> to get rune_t declared. Now rune_t is declared perfectly bogusly in all cases when <ctype.h> is included. This change breaks similar (but more convoluted) convolutions in the stddef.h in gcc distributions. Ports of gcc should avoid using the gcc headers. Notes: svn path=/head/; revision=15483
* Remove half-dancing solution for signed chars to help findingAndrey A. Chernov1996-03-251-10/+3
| | | | | | | POSIXly-incorrect programs. Notes: svn path=/head/; revision=14812
* Move more stuff out to XPG4Andrey A. Chernov1995-11-031-0/+10
| | | | | | | Handle negative chars inside runetype/tolower/toupper Notes: svn path=/head/; revision=12022
* Migrate from XPG4 to XPG3 (libxpg4 will be added soon)Andrey A. Chernov1995-10-231-0/+36
| | | | | | | | Remove big part of my startup_setlocale hack. Add missing manpage links. Notes: svn path=/head/; revision=11695
* Make not-so-space-eaten locale version:Andrey A. Chernov1994-09-241-0/+23
split modules to bring only neccessary functions, eliminate sprintf, make reduced startup_locale version. Notes: svn path=/head/; revision=3050