git: 9front

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