[ Manpage overview ] [ To start of mcntp pages ]
Table of Contents

Name

stristr - search for string in other string case independent

Synopsis

#include <mystring.h>

char *
stristr(const char *s1, const char *s2)

Description

The stristr() function searches in a case independent manner for the first occurrence of the string s2 in the string s1. It just differs from strstr(3) that it does the comparison in a case independent manner.

Return Values

A pointer to the first occurrence is returned else NULL.

See Also

strncmp(3) , strnicmp(3) , strstr(3)

History

The stristr() function is part of MCNTP, the diploma thesis Transport of NetNews via IP-multicast of the author.

Author

Heiko W.Rupp (hwr@pilhuhn.de)

Bugs

None known yet. If you find any, then please report them to <mcntpbugs@pilhuhn.de>


Table of Contents

$Id: stristr.3.html,v 1.5 2001/11/22 10:24:37 pilhuhn Exp $