code: purgatorio

ref: 71292834bbafcf6bc409cfd7691f9e6650df025b
dir: /libkern/strlen.c/

View raw version
#include <lib9.h>

long
strlen(char *s)
{

	return strchr(s, 0) - s;
}