home *** CD-ROM | disk | FTP | other *** search
- /* Copyright (C) 1993 Marc Stern (internet: stern@mble.philips.be) */
-
- #include "strings.h"
-
- /***
- * Function : strend
- *
- * Description : Returns a pointer to the '\0' ending a string
- *
- * Parameters : in char *in_str in string
- *
- * Return code : pointer to the '\0' ending the string..
- *
- * OS/Compiler : All
- ***/
-
- char *strend( const char *in_str )
-
- {
- #if 0
- while ( *in_str ++ );
- in_str --;
- return in_str;
- #endif
- /* Should be quicker with built-in Run-Time Library (if well optimized) */
- return in_str + strlen(in_str);
- }
-