shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}