man rarray_last (Fonctions bibliothèques) - return entries in a Roy Array.
NAME
rarray_last, rarray_nth - return entries in a Roy Array.
SYNOPSIS
#include <roy.h>
void * rarray_last (RArray *array);
void * rarray_nth (RArray *array, unsigned int nth);
DESCRIPTION
rarray_last(3) returns a pointer to the last entry in array. No entries are removed from the array during this operation. It is identical to rarray_peek(3).
rarray_nth(3) returns a pointer to the nth entry in array.
RETURN VALUE
These functions return pointers to entries in the array. These entries must then be cast to the appropriate types as defined when created using rarray_new(3).
ERRORS
These calls produce no errors.
SEE ALSO
rarray(3), rarray_append(3), rarray_free(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)