git: 9front

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