Your company here ā€” click to reach over 10,000 unique daily visitors

ustrstr - Man Page

Finds the first occurrence of a string in another one. Allegro game programming library.


#include <allegro.h>

char *ustrstr(const char *s1, const char *s2);


This function finds the first occurrence of string `s2' in string `s1'. Example:

   char *p = ustrstr("hello world", "world");

Return Value

Returns a pointer within `s1', or NULL if `s2' wasn't found.

See Also

uconvert(3), ustrchr(3), ustrrchr(3), ustrpbrk(3), ustrtok(3)

Referenced By

ustrchr(3), ustrpbrk(3), ustrrchr(3), ustrtok(3).

version 4.4.3 Allegro manual