shithub: drawterm

ref: 9fc8db1c35ac193cfff906149b9a66ae7e8fe5ab
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}