libkern - Add memcchr(9).
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Sun, 8 Jul 2012 12:37:50 +0000 (14:37 +0200)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Sun, 8 Jul 2012 12:37:50 +0000 (14:37 +0200)
commit90b052ab762ce017840568fa9f9322459655dc4f
tree399d750c216b3e173c13925a5f365c8e95403e87
parent49262fcbe80f17a1d27f881234a7021d3c55ff73
libkern - Add memcchr(9).

* It can be used for filesystem bitmap operations.
* FreeBSD introduced it to replace calls to skpc().
* It does compare entire words instead of single bytes.

Taken from: FreeBSD-SVN 229198
share/man/man9/Makefile
share/man/man9/memcchr.9 [new file with mode: 0644]
sys/conf/files
sys/libkern/memcchr.c [new file with mode: 0644]
sys/sys/libkern.h