git: 9front

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