git: 9front

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