shithub: drawterm

ref: 0448efcbfb7854e210296721025380d287d4c3de
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}