9:21 am GMT
Examples
Examples » C
/* 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;
}
This category contains 2
examples, and has been viewed 56726 times.
|