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/netinet/tcp_input.c | |
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/netinet/tcp_input.c')
0 files changed, 0 insertions, 0 deletions