Defines | Functions
substitutions.c File Reference
#include <ctype.h>
Include dependency graph for substitutions.c:

Defines

#define touppercase(c)   (toupper(((unsigned char)(c))))

Functions

char * strcasestr (char *src, char *sub)

Define Documentation

#define touppercase (   c)    (toupper(((unsigned char)(c))))

Referenced by strcasestr().


Function Documentation

char* strcasestr ( char *  src,
char *  sub 
)

Case-insensitive version of strstr().

Returns:
Returns a pointer to the beginning of the first occurrence, or NULL if not found.
Parameters:
srcPointer to string in which substring is seached
subPointer to substring which is searced for in source string

References touppercase.

Referenced by cunitFromFilename().