git: 9front

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