shithub: drawterm

ref: 05dc356d2fb9d72405b0b2d0b36505f729d8591c
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}