shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}