DragonFly BSD
DragonFly commits List (threaded) for 2012-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: libkern - Add memcchr(9).


From: Antonio Huete Jimenez <tuxillo@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 8 Jul 2012 05:44:51 -0700 (PDT)

commit 90b052ab762ce017840568fa9f9322459655dc4f
Author: Antonio Huete Jimenez <tuxillo@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]