home *** CD-ROM | disk | FTP | other *** search
- /*********
- *
- * _TR_STRL.C
- *
- * by Tom Rettig
- *
- * Placed in the public domain by Tom Rettig Associates, 10/22/1990.
- *
- * Syntax: _tr_strlen(cp)
- * Return: int length of *cp
- * Note : does not count null terminator
- ********/
-
- #include "trlib.h"
-
- _tr_strlen(instr)
- char *instr;
- {
- int i;
- for (i=0; instr[i]; i++)
- ;
- return(i);
- }
-