code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}