code: purgatorio

ref: 1f6de2fe3823cc6e749b8254187e81e20589bae8
dir: /libkern/strlen.c/

View raw version
#include <lib9.h>

long
strlen(char *s)
{

	return strchr(s, 0) - s;
}