git: 9front

ref: 4e512d7bc3183d305e9be3aabcec47e34a23deb4
dir: /sys/src/libc/port/strlen.c/

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

long
strlen(char *s)
{

	return strchr(s, 0) - s;
}