shithub: drawterm-fdroid

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}