firestring_estr_areplace(3)

firestring_estr_areplace3

Replace occurences of one string with another, allocating space if needed

Usage

#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)

Overview

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

Releases

Unchanged in 6 releases since Debian 3.1 (Sarge).

  1. 3.1–8

Author

Ian Gulliver <[email protected]>

From libfirestring-dev 0.9.12-8 in Debian 8 (Jessie). Parsed by carta from the page's man source.