git: libkern - Add memcchr(9).
Antonio Huete Jimenez
tuxillo at crater.dragonflybsd.org
Sun Jul 8 05:44:51 PDT 2012
commit 90b052ab762ce017840568fa9f9322459655dc4f
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date: Sun Jul 8 14:37:50 2012 +0200
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
Summary of changes:
share/man/man9/Makefile | 1 +
share/man/{man4/wlan_acl.4 => man9/memcchr.9} | 50 ++++++-----
sys/conf/files | 1 +
sys/libkern/memcchr.c | 117 +++++++++++++++++++++++++
sys/sys/libkern.h | 1 +
5 files changed, 146 insertions(+), 24 deletions(-)
copy share/man/{man4/wlan_acl.4 => man9/memcchr.9} (69%)
create mode 100644 sys/libkern/memcchr.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/90b052ab762ce017840568fa9f9322459655dc4f
--
DragonFly BSD source repository
More information about the Commits
mailing list