git: 9front

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