freebsd-skq/sys/libkern
wkoszek e97a378b02 strchr() and strrchr() are already present in the kernel, but with less
popular names. Hence:

- comment current index() and rindex() functions, as these serve the same
  functionality as, respectively, strchr() and strrchr() from userland;
- add inlined version of strchr() and strrchr(), as we tend to use them more
  often;
- remove str[r]chr() definitions from ZFS code;

Reviewed by:	pjd
Approved by:	cognet (mentor)
2007-04-10 21:42:12 +00:00
..
arm
ia64
arc4random.c
ashldi3.c
ashrdi3.c
bcd.c
bcmp.c
bsearch.c
crc32.c Update comment to direct the reader to libkern.h instead of systm.h. 2005-04-28 05:50:18 +00:00
divdi3.c
ffs.c
ffsl.c
fls.c
flsl.c
fnmatch.c Convert function declarations to ANSI C. 2006-01-22 00:46:40 +00:00
gets.c Ignore spurious '\0' first character read on a serial console. 2006-01-14 20:45:02 +00:00
iconv_converter_if.m
iconv_xlat16.c Fix kiconv on the 64bit plathomes. 2005-05-24 15:38:08 +00:00
iconv_xlat.c
iconv.c Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
index.c strchr() and strrchr() are already present in the kernel, but with less 2007-04-10 21:42:12 +00:00
inet_ntoa.c
lshrdi3.c
mcount.c
memset.c Add local ptototype for memset function. 2007-04-06 00:06:26 +00:00
moddi3.c
qdivrem.c
qsort_r.c
qsort.c
quad.h
random.c
rindex.c strchr() and strrchr() are already present in the kernel, but with less 2007-04-10 21:42:12 +00:00
scanc.c
skpc.c
strcasecmp.c Ha! This is a very interesting bug. 2005-08-08 19:38:00 +00:00
strcat.c
strcmp.c
strcpy.c
strdup.c
strlcat.c
strlcpy.c
strlen.c
strncmp.c
strncpy.c
strsep.c
strspn.c
strstr.c Add strstr() function to the libkern. 2006-08-12 15:28:39 +00:00
strtol.c
strtoq.c
strtoul.c
strtouq.c
strvalid.c
ucmpdi2.c
udivdi3.c
umoddi3.c