shithub: drawterm

ref: 7b58000c3d019d157fa5f1cc5621b0923e5b8539
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}