git: 9front

ref: 74bcc2aa4c0b8e2d9915ae2cda6e4b2fabf56e95
dir: /sys/src/ape/lib/ap/gen/strlen.c/

View raw version
#include <string.h>

size_t
strlen(const char *s)
{
	return strchr(s, 0) - s;
}