libft
Loading...
Searching...
No Matches
vec_append.c File Reference
#include "vec.h"

Go to the source code of this file.

Functions

int vec_append (t_vec *dst, t_vec *src)
 Appends vector to a vector.
 

Function Documentation

◆ vec_append()

int vec_append ( t_vec dst,
t_vec src 
)

Appends vector to a vector.

Appends *src memory to end of *dst memory.

Parameters
dstt_vec*
srct_vec*
Returns
int -1 if malloc fails otherwise 1

Definition at line 17 of file vec_append.c.