code: purgatorio

ref: 7a29422cfefaf76315eafa82ca606f9ded9517b3
dir: /libkern/strlen.c/

View raw version
#include <lib9.h>

long
strlen(char *s)
{

	return strchr(s, 0) - s;
}