shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}