shithub: drawterm

ref: 176f1fa82e08aacc6b0acb24f5e36b7e4c257c4e
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}