code: drawterm

ref: 83e4263979931e434d56e0e50bdc663db98239bb
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}