git: 9front

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