shithub: drawterm

ref: 4eeb8bcb3cbcd28752a8c0621bc5e0d6c2db5bb4
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}