firestring_estr_replace(3) allocating space if needed

Other Alias

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 firestring_estr_t * const to, const struct firestring_estr_t * const from)

DESCRIPTION

firestring_estr_replace() copies source into dest, replacing all instances from from with to. It allocates more space in dest if needed.

RETURN VALUE

0

AUTHOR

Ian Gulliver <[email protected]>