code: purgatorio

ref: 654935ba71201d7215d9fcd96181a330ec6ff617
dir: /libkern/strlen.c/

View raw version
#include <lib9.h>

long
strlen(char *s)
{

	return strchr(s, 0) - s;
}