shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}