Ed Maste
3fb3b97c4d
Renumber clauses to reduce diffs to other versions
...
NetBSD, OpenBSD, and Android's Bionic number the clauses 1 through 3,
so follow suit to make comparison easier.
2013-05-28 20:57:40 +00:00
Daniel Gerzo
bd604b4b06
- ANSIfy function definitions
...
- use nul when we are looking for a terminating character where appropriate
Approved by: imp
2009-02-03 17:58:20 +00:00
Warner Losh
c879ae3536
Per Regents of the University of Calfornia letter, remove advertising
...
clause.
# If I've done so improperly on a file, please let me know.
2007-01-09 00:28:16 +00:00
Pawel Jakub Dawidek
029f08c23c
Don't read more than the given 'len' bytes from the 'big' string.
...
PR: misc/77369
Submitted by: Ed Maste <emaste@phaedrus.sandvine.ca>
MFC after: 1 week
2005-02-11 21:07:51 +00:00
David E. O'Brien
de5fe5d53b
rcsid[]->__FBSDID
2001-11-07 19:55:16 +00:00
Mike Barcroft
41036d782d
Add a new libc function, strnstr(3), which allows one to limit the
...
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
2001-10-09 01:29:56 +00:00