code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}