shithub: drawterm

ref: 76af4ec0e6d869e8ccc2757904375daf6470bd92
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}