emaste
324e4c082c
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
danger
ff17de3853
- 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
imp
cd1f140ae4
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
pjd
6ce8df8f98
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
obrien
d1bf0c4841
rcsid[]->__FBSDID
2001-11-07 19:55:16 +00:00
mike
9a27a4f0fe
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