code: purgatorio

ref: 9f76a7f6819ac04552b4fb6588156f3e4089d1d7
dir: /libkern/strlen.c/

View raw version
#include <lib9.h>

long
strlen(char *s)
{

	return strchr(s, 0) - s;
}