shithub: drawterm

ref: 99dd6a29652826520e35ec09ad0245bcd3405884
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}