git: 9front

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