git: 9front

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