code: drawterm

ref: 5876605b6b41632fcf67dbc7de11aa07a78a4382
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}