git: 9front

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