git: 9front

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