git: 9front

ref: fc96e01a8072afee71b3a734dde741031fbfd46c
dir: /sys/src/cmd/unix/drawterm/libc/runestrlen.c/

View raw version
#include <u.h>
#include <libc.h>

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}