shithub: riscv

ref: 7d108832528eb1ee85a445a562c00b5a8344d882
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;
}