1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00
freebsd/sys/libkern
Robert Watson 96c4266cb3 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
2003-02-23 14:30:17 +00:00
..
alpha
ia64 Improve a comment and undo a bogus s/a/an/ in a comment. An asm guru 2003-02-11 20:15:11 +00:00
arc4random.c Slight overhaul of arc4random() and friends. 2002-10-11 13:13:08 +00:00
ashldi3.c
ashrdi3.c
bcd.c
bcmp.c Include sys/libkern.h for the kernel prototypes of these libkern functions 2002-08-22 20:08:07 +00:00
bsearch.c Remove bogus include of <machine/ansi.h>. 2002-04-11 06:53:40 +00:00
crc32.c For some reason this didn't get added in my previous commit. 2002-05-29 21:58:12 +00:00
divdi3.c
ffs.c Include sys/libkern.h for the kernel prototypes of these libkern functions 2002-08-22 20:08:07 +00:00
fnmatch.c Import the libc fnmatch() into the kernel. This will be used by, 2002-10-08 04:15:55 +00:00
iconv_converter_if.m
iconv_xlat.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
iconv.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
index.c
inet_ntoa.c
lshrdi3.c
mcount.c
moddi3.c
qdivrem.c
qsort.c Fix instances of macros with improperly parenthasized arguments. 2002-11-09 12:55:07 +00:00
quad.h Allow for multiple #includes of this file. 2002-10-08 07:24:19 +00:00
random.c Since we drop NSHUFF values now, set default seed to what it becomes 2003-02-05 21:28:52 +00:00
rindex.c
scanc.c
skpc.c
strcat.c Add restrict keyword to string functions. 2003-02-10 00:36:27 +00:00
strcmp.c Include sys/libkern.h for the kernel prototypes of these libkern functions 2002-08-22 20:08:07 +00:00
strcpy.c Add restrict keyword to string functions. 2003-02-10 00:36:27 +00:00
strdup.c Add an implementation of strdup() to libkern. Allocated memory is of 2003-02-23 14:30:17 +00:00
strlcat.c Use sys/libkern.h not /usr/include/string.h 2002-09-06 06:04:36 +00:00
strlcpy.c Use sys/libkern.h not /usr/include/string.h 2002-09-06 06:04:36 +00:00
strlen.c Include sys/libkern.h for the kernel prototypes of these libkern functions 2002-08-22 20:08:07 +00:00
strncmp.c Include sys/libkern.h for the kernel prototypes of these libkern functions 2002-08-22 20:08:07 +00:00
strncpy.c Add restrict keyword to string functions. 2003-02-10 00:36:27 +00:00
strsep.c Hook up strsep(3) to libkern following a repo-copy by Peter. This will 2002-10-10 17:02:11 +00:00
strtol.c
strtoq.c
strtoul.c
strtouq.c
strvalid.c
ucmpdi2.c
udivdi3.c
umoddi3.c