ustrstr(3alleg)

ustrstr3alleg

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

Usage

#include <allegro.h>

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

Overview

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.

Releases

4 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0

From liballegro-doc 2:4.2.2-2.2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.