git: 9front

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