git: 9front

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