git: 9front

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