summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strnstr.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.
* - ANSIfy function definitionsdanger2009-02-031-4/+1
| | | | | | - 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.
* Don't read more than the given 'len' bytes from the 'big' string.pjd2005-02-111-1/+1
| | | | | | PR: misc/77369 Submitted by: Ed Maste <emaste@phaedrus.sandvine.ca> MFC after: 1 week
* rcsid[]->__FBSDIDobrien2001-11-071-1/+3
|
* Add a new libc function, strnstr(3), which allows one to limit themike2001-10-091-0/+70
number of characters that are searched. This is especially useful with file operations and non-NUL terminated strings. Silence from: -audit, -hackers MFC after: 5 days
OpenPOWER on IntegriCloud