shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}