shithub: drawterm

ref: 6ebf0a517b195de7f29ebc9ce817a91e5276107d
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}