git: 9front

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