git: 9front

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