code: drawterm

ref: 7e48e47ab0b00dfe5674b3555a52cace2eb12b98
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}