al_ustr_find_str(3alleg5)

al_ustr_find_str3alleg5

Allegro 5 api

Usage

#include <allegro5/allegro.h>
int al_ustr_find_str(const ALLEGRO_USTR *haystack, int start_pos,
   const ALLEGRO_USTR *needle)

Overview

Find the first occurrence of string needle in haystack, beginning from byte offset start_pos (inclusive). Return the byte offset of the occurrence if it is found, otherwise return -1.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

From allegro5-doc 2:5.2.10.1+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.