home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
cprog
/
actlib12.zip
/
STRINGS.ZIP
/
END.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-02-25
|
605b
|
28 lines
/* 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);
}