code: purgatorio

ref: 84989770721391018dd6a247831cb79a43c1d86b
dir: /libkern/strlen.c/

View raw version
#include <lib9.h>

long
strlen(char *s)
{

	return strchr(s, 0) - s;
}