shithub: drawterm

ref: 7c06cf764b2d7de70ea225ead0e913b5785ddf3b
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}