git: 9front

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