git: 9front

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