Date: Sun, 23 Feb 2003 06:30:17 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys libkern.h malloc.h src/sys/libkern strdup.c src/sys/conf files Message-ID: <200302231430.h1NEUHZb068134@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2003/02/23 06:30:17 PST Modified files: sys/sys malloc.h libkern.h sys/conf files Added files: sys/libkern strdup.c Log: 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 Revision Changes Path 1.761 +1 -0 src/sys/conf/files 1.1 +54 -0 src/sys/libkern/strdup.c (new) 1.38 +1 -0 src/sys/sys/libkern.h 1.71 +1 -0 src/sys/sys/malloc.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302231430.h1NEUHZb068134>