code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}