git: 9front

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