libcfe  0.12.1
some useful C-functions
astrcat.c File Reference
#include "config.h"
#include "astrcat.h"
#include <stdlib.h>
#include "len.h"
Include dependency graph for astrcat.c:

Go to the source code of this file.

Functions

char * astrcat (const char *a, const char *b)
 

Function Documentation

◆ astrcat()

char* astrcat ( const char *  a,
const char *  b 
)

Combines two strings (A and B) into one, and return a pointer to a malloc'd area containing the result ('\0' terminated).

Parameters
[in]aPointer to the first string ('\0' terminated).
[in]bPointer to the second string ('\0' terminated).
Returns
Pointer to a new malloc'd area containing the new string ('\0' terminated).

Definition at line 8 of file astrcat.c.