diff options
Diffstat (limited to 'sys/libkern/rindex.c')
-rw-r--r-- | sys/libkern/rindex.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/libkern/rindex.c b/sys/libkern/rindex.c index b1669f8..19bed70 100644 --- a/sys/libkern/rindex.c +++ b/sys/libkern/rindex.c @@ -33,6 +33,10 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/libkern.h> +/* + * rindex() is also present as the strrchr() in the kernel; it does exactly the + * same thing as it's userland equivalent. + */ char * rindex(p, ch) const char *p; |