git: 9front

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