shithub: drawterm

ref: 01dc1e2c37938eea4226ac299dc518bfab6ef0c0
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}