git: 9front

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