---
name: "firestring_estr_strcpy"
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_strcpy"
---

# firestring\_estr\_strcpy(3)

copy a string into an estring

## NAME

firestring\_estr\_strcpy - copy a string into an estring

## SYNOPSIS

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

**int firestring\_estr\_strcpy(struct firestring\_estr\_t \****estring***, const char \****string***)**

## DESCRIPTION

firestring\_estr\_strcpy() copys the contents of *string* into *estring*, provided that there is room in *estring*.

## RETURN VALUE

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

## AUTHOR

Ian Gulliver \<ian@penguinhosting.net\>

## SEE ALSO

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