shithub: p9-stm32-example-bare

ref: cc3c4401a74588c302c55ba7acb19cd773fdf775
dir: /libkern/strlen.c/

View raw version
#include	<u.h>
#include	"kern.h"

long
strlen(char *s)
{

	return strchr(s, 0) - s;
}