summaryrefslogtreecommitdiffstats
path: root/sys/libkern/strvalid.c
Commit message (Collapse)AuthorAgeFilesLines
* Because the argument to strvalid() is a size_t, use a size_t to iteraterwatson2005-01-291-1/+1
| | | | | | over the array. Submitted by: stefanf
* Per permission from McAfee, remove clause 3 of the BSD license onrwatson2005-01-291-3/+0
| | | | strvalid.c.
* Use __FBSDID().obrien2003-06-111-2/+3
|
* DBA update: used the wrong of several NAI DBAs.rwatson2002-03-071-1/+1
|
* Add a 'strvalid()' call to libkern. Given a character pointer, andrwatson2002-02-181-0/+55
buffer length, determine if the pointer is to a valid string. Currently, the only check is whether a '\0' appears in the buffer. This is useful when pulling in a structure from userland that may contain one or more strings, and validity testing must be performed on elements of the structure. When copying normal string arguments, copyinstr() is expected to be used.
OpenPOWER on IntegriCloud