git: 9front

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