git: 9front

ref: cc79ea61bdaff2992d6b1c82b0e98f9cba168a43
dir: /sys/src/libc/port/strlen.c/

View raw version
#include <u.h>
#include <libc.h>

long
strlen(char *s)
{

	return strchr(s, 0) - s;
}