git: 9front

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