Reference

rarray_append(3)

append a new entry to an rarray.

NAME

rarray_append - append a new entry to an rarray.

SYNOPSIS

#include <roy.h>

void * rarray_append (RArray *array);

DESCRIPTION

This function appends a new entry to array. A pointer to the new entry or slot is returned, which may be cast to the appropriate type as defined when created using rarray_new(3).

RETURN VALUE

This function returns a pointer to a new entry in the rarray.

ERRORS

This call does not error.

SEE ALSO

rarray(3), rarray_free(3), rarray_last(3), rarray_len(3), rarray_new(3), rarray_nth(3), rarray_peek(3), rarray_pop(3), rarray_push(3), rarray_set_len(3), roy(3)

History