git: 9front

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