git: 9front

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