code: purgatorio

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

View raw version
#include <lib9.h>

long
strlen(char *s)
{

	return strchr(s, 0) - s;
}