Optimize and test strchrnul.
authorEric Blake <ebb9@byu.net>
Mon, 28 Apr 2008 21:43:04 +0000 (15:43 -0600)
committerEric Blake <ebb9@byu.net>
Mon, 28 Apr 2008 21:43:04 +0000 (15:43 -0600)
commitd2a45d9a8b6d045041db52a37fc7e1226d12deec
tree9357bc7365b7e06092d855f011bdd15494ae9983
parent2c975047cded6ec2c2a20af397275acffdaa11f9
Optimize and test strchrnul.

* lib/strchrnul.c (strchrnul): Rewrite to do parallel search.
* modules/strchrnul-tests: New file.
* tests/test-strchrnul.c: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/strchrnul.c
modules/strchrnul-tests [new file with mode: 0644]
tests/test-strchrnul.c [new file with mode: 0644]