code: purgatorio

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

View raw version
#include <lib9.h>

long
strlen(char *s)
{

	return strchr(s, 0) - s;
}