code: purgatorio

ref: 3efb5bbb4061056e523858b134c555949591efe2
dir: /libkern/strlen.c/

View raw version
#include <lib9.h>

long
strlen(char *s)
{

	return strchr(s, 0) - s;
}