diff options
author | rwatson <rwatson@FreeBSD.org> | 2003-02-23 14:30:17 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2003-02-23 14:30:17 +0000 |
commit | 3bf9482fa0a7d20205f89c243007961dbb93f701 (patch) | |
tree | 14f24f33e303790942de3e78c5d4f1474733ded6 /sys/conf/files | |
parent | 2e05ab323f01ad756a8c17b4ffb09cc0793b2028 (diff) | |
download | FreeBSD-src-3bf9482fa0a7d20205f89c243007961dbb93f701.zip FreeBSD-src-3bf9482fa0a7d20205f89c243007961dbb93f701.tar.gz |
Add an implementation of strdup() to libkern. Allocated memory is of
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
Diffstat (limited to 'sys/conf/files')
-rw-r--r-- | sys/conf/files | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files index 9f739db..c56d3e5 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1130,6 +1130,7 @@ libkern/skpc.c standard libkern/strcat.c standard libkern/strcmp.c standard libkern/strcpy.c standard +libkern/strdup.c standard libkern/strlcat.c standard libkern/strlcpy.c standard libkern/strlen.c standard |