]> git.lizzy.rs Git - plan9front.git/blob - sys/src/libc/port/runestrlen.c
libregexp: improve the transition to next available thread, instruction, and generation
[plan9front.git] / sys / src / libc / port / runestrlen.c
1 #include <u.h>
2 #include <libc.h>
3
4 long
5 runestrlen(Rune *s)
6 {
7
8         return runestrchr(s, 0) - s;
9 }