shithub: drawterm

ref: 5fe2b255e45d5885e240936109d7f19228bcc3d4
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}