shithub: drawterm

ref: 774d1d233e7803e769add45a4df1ae4b86f41b10
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}