shithub: drawterm

ref: c928f5c09c91766150fdaeb1a9e0b99b6a8d9439
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}