shithub: drawterm

ref: 1c8b4992284fe1cbccb54cd213f274c00c3ac6d1
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}