summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strcasecmp.c
Commit message (Collapse)AuthorAgeFilesLines
* Renumber clauses to reduce diffs to other versionsemaste2013-05-281-1/+1
| | | | | NetBSD, OpenBSD, and Android's Bionic number the clauses 1 through 3, so follow suit to make comparison easier.
* Revert r227812 and r227808 per discussioneadler2011-12-021-18/+11
| | | | | Reviewed by: many Approved by: des
* - fix some style(9) nits with my last commiteadler2011-11-221-3/+4
| | | | | | | - add a comment explaining why I used '|' instead of '||' Submitted by: danfe@ Approved by: emaste@
* - add check for pointer equality prior to performing the O(n) passeadler2011-11-221-11/+17
| | | | | | | | | - while here change 's' to 's1' in strcoll Submitted by: eadler@ Reviewed by: theraven@ Approved by: brooks@ MFC after: 2 weeks
* (Hopefully) Fix the build with clang by removing a typedef that's no longer ↵theraven2011-11-211-2/+0
| | | | | | needed. Approved by: brooks (mentor)
* Implement xlocale APIs from Darwin, mainly for use by libc++. This adds atheraven2011-11-201-6/+25
| | | | | | | | | | | | 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)
* - ANSIfy function definitionsdanger2009-02-031-5/+2
| | | | | | - use nul when we are looking for a terminating character where appropriate Approved by: imp
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* - Update strcasecmp(3)/strncasecmp(3) to reflect the fact thatrobert2002-08-301-1/+1
| | | | | | | | the prototypes for both functions are now in the <strings.h> header, as required by IEEE Std 1003.1-2001. - Add one sentence about that in the HISTORY section. - Include <strings.h> in the source file to have the prototypes in scope when the _ANSI_SOURCE macro is defined.
* Remove 'register' keyword.obrien2002-03-211-3/+3
|
* rcsid[]->__FBSDIDobrien2001-11-071-5/+2
|
* Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files.obrien2001-05-241-4/+8
| | | | Do the same for the non-wcs*/wmem* files while I'm here.
* Localize it.ache1996-06-091-46/+7
| | | | (it was NOT localized initially, it does some trick instead!)
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+115
OpenPOWER on IntegriCloud