shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}