code: purgatorio

ref: a920c765f2b4130590fb5971a50690b21664957a
dir: /libkern/strlen.c/

View raw version
#include <lib9.h>

long
strlen(char *s)
{

	return strchr(s, 0) - s;
}