cvs commit: src/lib/libc/string strcspn.c
Joerg Sonnenberger
joerg at crater.dragonflybsd.org
Tue Mar 29 11:37:19 PST 2005
joerg 2005/03/29 11:36:40 PST
DragonFly src repository
Modified files:
lib/libc/string strcspn.c
Log:
New strcspn implementation, which is O(strln(str) + strlen(chars))
and not O(strlen(str) * strlen(chars)) as before.
Submitted-by: Andreas Hauser <andy-dragonfly at xxxxxxxxxxxxxxx>
Revision Changes Path
1.4 +49 -48 src/lib/libc/string/strcspn.c
http://www.dragonflybsd.org/cvsweb/src/lib/libc/string/strcspn.c.diff?r1=1.3&r2=1.4&f=u
More information about the Commits
mailing list