ustrstr (3) - Linux Manuals
ustrstr: Finds the first occurrence of a string in another one. Allegro game programming library.
Command to display ustrstr
manual in Linux: $ man 3 ustrstr
NAME
ustrstr - Finds the first occurrence of a string in another one. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
char *ustrstr(const char *s1, const char *s2);
DESCRIPTION
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.
Pages related to ustrstr
- ustr (3) - ustr string library functions
- ustr_const (3) - ustr string library constants
- ustrcat (3) - Concatenates a string to another one. Allegro game programming library.
- ustrchr (3) - Finds the first occurrence of a character in a string. Allegro game programming library.
- ustrcmp (3) - Compares two strings. Allegro game programming library.
- ustrcpy (3) - Copies a string into another one. Allegro game programming library.
- ustrdup (3) - Duplicates a string. Allegro game programming library.
- ustrerror (3) - Returns a string describing errno. Allegro game programming library.
- ustricmp (3) - Compares two strings ignoring case. Allegro game programming library.