git: 9front

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