ustrstr(3alleg4)

ustrstr3alleg4

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

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.