git: 9front

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