code: purgatorio

ref: 15e065df12bf7ad79000d150cefa5038ee7416b3
dir: /libkern/strlen.c/

View raw version
#include <lib9.h>

long
strlen(char *s)
{

	return strchr(s, 0) - s;
}