code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}