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

FreeBSD Manual Pages

  
 
  

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

NAME
       ustrstr	- Finds	the first occurrence of	a string in another one. Alle-
       gro 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.

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

Allegro				 version 4.4.3			    ustrstr(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=ustrstr&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help