shithub: drawterm

ref: 313cf4107eb9ebb2e2b7b6c8f61b93eac0b19a11
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}