git: 9front

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