aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/string/wmemchr.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
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* 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
* - ANSIfy function definitionsDaniel Gerzo2009-02-031-4/+1
| | | | | | | | | - use nul when we are looking for a terminating character where appropriate Approved by: imp Notes: svn path=/head/; revision=188080
* 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