git: 9front

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