summaryrefslogtreecommitdiffstats
path: root/sys/libkern/strdup.c
Commit message (Collapse)AuthorAgeFilesLines
* Use __FBSDID().obrien2003-06-111-2/+3
|
* Further GC of M_STRING, missed previously.rwatson2003-02-261-2/+0
|
* Replace license with two-clause BSD; an old license template with threerwatson2003-02-261-7/+4
| | | | clauses was used by mistake.
* Pass a malloc type into the libkern strdup() implementation explicitly,rwatson2003-02-251-2/+2
| | | | | | | so that callers can specify what malloc pool the resulting memory should come from. Requested by: phk
* Add an implementation of strdup() to libkern. Allocated memory is ofrwatson2003-02-231-0/+54
type M_STRING, now defined in malloc.h. Useful when string parsing must occur using the kernel strsep() and we want to avoid toasting the source string. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
OpenPOWER on IntegriCloud