git: 9front

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