code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}