shithub: drawterm

ref: 18dbc24cdfd2f6b1105589fbf261b528e7d35035
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}