git: 9front

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