---
name: "firestring_estr_estrcpy"
section: "3"
platform: "linux"
package: "libfirestring-dev"
version: "0.9.12-8"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/firestring_estr_estrcpy"
---

# firestring\_estr\_estrcpy(3)

copy an estring into another estring

## NAME

firestring\_estr\_estrcpy - copy an estring into another estring

## SYNOPSIS

**#include \<firestring.h\>**\
 **-lfirestring**

**int firestring\_estr\_estrcpy(struct firestring\_estr\_t \****destination***, struct firestring\_estr\_t \****source***, int** *start***)**

## DESCRIPTION

firestring\_estr\_estrcpy() copys the contents of *source* from the index *start* into *destination*, provided that there is room in *destination*.

## RETURN VALUE

0 if the string was copied successfully; 1 if there was insufficient space in *destination* for the copy to occur.

## AUTHOR

Ian Gulliver \<ian@penguinhosting.net\>

## SEE ALSO

[**libfirestring**(3)](/libfirestring/3.md)
