git: 9front

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