8000 minix/lib/ansi/strlen.c at R3.1.6 · hakan-akan/minix · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 318 Bytes

strlen.c

File metadata and controls

18 lines (14 loc) · 318 Bytes
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/* $Header$ */
#include <string.h>
size_t
strlen(const char *org)
{
register const char *s = org;
while (*s++)
/* EMPTY */ ;
return --s - org;
}
0