code: purgatorio

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

View raw version
#include <lib9.h>

long
strlen(char *s)
{

	return strchr(s, 0) - s;
}