ustrchr (3) - Linux Manuals
ustrchr: Finds the first occurrence of a character in a string. Allegro game programming library.
Command to display ustrchr
manual in Linux: $ man 3 ustrchr
NAME
ustrchr - Finds the first occurrence of a character in a string. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
char *ustrchr(const char *s, int c);
DESCRIPTION
Finds the first occurrence of the character `c' in the string `s'. Example:
char *p = ustrchr("one,two,three,four", ',');
RETURN VALUE
Returns a pointer to the first occurrence of `c' in `s', or NULL if no
match was found. Note that if `c' is NULL, this will return a pointer to
the end of the string.
Pages related to ustrchr
- ustrcat (3) - Concatenates a string to another one. 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.
- ustr (3) - ustr string library functions
- ustr_const (3) - ustr string library constants
- 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.
- ustrlwr (3) - Replaces all letters with lower case. Allegro game programming library.