git: 9front

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