code: drawterm

ref: a8a4b24b4e7dc60d98e47fa11771c23711fe846a
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}