shithub: purgatorio

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

View raw version
#include <lib9.h>

long
strlen(char *s)
{

	return strchr(s, 0) - s;
}