shithub: drawterm

ref: 7d2ec9b8dfb18ee013cf27263bb6fe77d72f0f9c
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}