code: drawterm

ref: 1077af5bb8c70351814b5a0042020116b23690d6
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}