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

FreeBSD Manual Pages

  
 
  

home | help
firestring_estr_replace(3) Library Functions Manual firestring_estr_replace(3)

NAME
       firestring_estr_replace - Replace occurences of one string with another

SYNOPSIS
       #include	<firestring.h>
       -lfirestring

       int  firestring_estr_replace(struct  firestring_estr_t  *  const	 dest,
       const struct firestring_estr_t  *  const	 source,  const	 struct	 fire-
       string_estr_t * const to, const struct firestring_estr_t	* const	from)

DESCRIPTION
       firestring_estr_replace()  copies  source  into dest, replacing all in-
       stances from from with to.  If there is insufficient space in dest, the
       function	returns	1 and the contents of dest are undefined.

RETURN VALUE
       0  if the replacement was successful; 1 if there	was insufficient space
       in destination for the replacement to occur.

AUTHOR
       Ian Gulliver <ian@penguinhosting.net>

SEE ALSO
       libfirestring(3)

				  2003-07-21	    firestring_estr_replace(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | AUTHOR | SEE ALSO

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

home | help