git: 9front

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