code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}