Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ustrchr(3)			Allegro	manual			    ustrchr(3)

NAME
       ustrchr	- Finds	the first occurrence of	a character in a string. Alle-
       gro 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'.  Ex-
       ample:

	  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.

SEE ALSO
       uconvert(3), ustrrchr(3), ustrstr(3), ustrpbrk(3), ustrtok(3)

Allegro				 version 4.4.3			    ustrchr(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=ustrchr&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help