rarray_last3
Return entries in a roy array.
Usage
#include <roy.h>
void * rarray_last (RArray *array);
void * rarray_nth (RArray *array, unsigned int nth);
Overview
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.
Releases
2 releases since Debian 3.0 (Woody); the text changed 1 time.