code: drawterm

ref: 1583a55d91725ddf4166b0c0fe7623a88a5f9cd3
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}