aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/string/wcschr.c
Commit message (Collapse)AuthorAgeFilesLines
* libc: Parenthesise qualifier-preserving function definitionsFaraz Vahedi2026-09-131-1/+1
| | | | | | | | | | | | | Required to prevent function-like macros with the same name from being expanded in the definitions once they become active in a later C mode. Without the parentheses, the macro would rewrite the declarator, and the file would consequently fail to compile. This style is already used for similar cases such as mempcpy(). Reviewed by: fuz Approved by: fuz (mentor) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D59600
* 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/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* libc: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-251-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified many licenses so this was mostly a manual - error prone - task. 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. Notes: svn path=/head/; revision=326193
* Reimplement, handling the case where c == L'\0' correctly and fixingTim J. Robbins2002-10-231-21/+7
| | | | | | | some style(9) bugs. Notes: svn path=/head/; revision=105785
* Remove unnecessary #include <assert.h>; it was used to bring in theTim J. Robbins2002-09-211-1/+0
| | | | | | | _DIAGASSERT macro on NetBSD, but we don't need it. Notes: svn path=/head/; revision=103724
* Fix the style of the SCM ID's.David E. O'Brien2002-03-221-0/+2
| | | | | | | I believe have made all of libc .c's as consistent as possible. Notes: svn path=/head/; revision=92986
* rcsid[]->__FBSDIDDavid E. O'Brien2001-11-071-4/+1
| | | | Notes: svn path=/head/; revision=86170
* Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files.David E. O'Brien2001-05-241-4/+4
| | | | | | | Do the same for the non-wcs*/wmem* files while I'm here. Notes: svn path=/head/; revision=77117
* Unbreak world; _DIAGASSERT macro is not available in FreeBSD.Ruslan Ermilov2001-05-161-2/+0
| | | | Notes: svn path=/head/; revision=76683
* initial import of locale insensitive wcs* and wmem* functions.Takuya SHIOZAKI2001-05-151-0/+59
Obtained from: NetBSD and Citrus. Notes: svn path=/head/; revision=76612