shithub: drawterm

ref: 08a8630d027531e475ce1103f292bc664e57097b
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}