strlen.c

Go to the documentation of this file.
00001 /*
00002  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
00003  * See the copyright notice in the ACK home directory, in the file "Copyright".
00004  */
00005 /* $Header: /opt/proj/minix/cvsroot/src/lib/ansi/strlen.c,v 1.1.1.1 2005/04/21 14:56:06 beng Exp $ */
00006 
00007 #include        <string.h>
00008 
00009 size_t
00010 strlen(const char *org)
00011 {
00012         register const char *s = org;
00013 
00014         while (*s++)
00015                 /* EMPTY */ ;
00016 
00017         return --s - org;
00018 }

Generated on Fri Apr 14 22:57:25 2006 for minix by  doxygen 1.4.6