shithub: drawterm-fdroid

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}