shithub: front

ref: c28f07b5840216c4e83e1d3b21d8a9ed7c41f8f9
dir: /sys/src/libc/port/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}