firestring_concat(3)

firestring_concat3

Concatenate strings

Usage

#include <firestring.h>
-lfirestring

char *firestring_concat(const char *s, ...)

Overview

firestring_concat() expects a set of const char *'s to nil-terminated strings. It returns a dynamically allocated string containing all of the input strings concatenated.

Return value

A pointer to a dynamically allocated string. This string should be freed by passing the pointer to free(3) when the program is finished with it, to avoid memory leaks.

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.