|
|
HomeNewsExamplesDemoDownloadsFAQDocumentationMailing ListsLicense
|
6:43 pm GMT
GeSHi - Generic Syntax Highlighter
Latest News
News Archive
|
Random Screenshot
Demonstration
Runtime Example
/* silly C example for GeSHi */
#ifndef getenv
extern char *getenv ();
#endif
static char *
my_index (str , chr )
const char *str ;
int chr ;
{
while (*str )
{
if (*str == chr )
return (char *) str ;
str ++;
}
return 0;
}
|
|