man rlist_prev (Fonctions bibliothèques) - follow the prev pointer of an rlist entry
NAME
rlist_prev - follow the prev pointer of an rlist entry
SYNOPSIS
#include <roy.h>
RListEntry * rlist_prev (RListEntry * entry);
DESCRIPTION
Follow the entry's prev pointer. The rlist_prev(3) api is implmented using a macro so using the RListEntry * as the entry and the return value is only advisorial. See rlist(3) on how to create RListEntry compatible entry structs. The rlist_next(3) call does the exact opposite of this call.
RETURN VALUE
This call returns entry's prev pointer. If the return value is NULL then the entry is the first entry in the list.
ERRORS
A call to rlist_prev(3) will never fail.
MACRO
The rlist_prev(3) api is implemented using a macro.
SEE ALSO
rlist(3), rlist_append(3), rlist_compare(3), rlist_first(3), rlist_free(3), rlist_last(3), rlist_new(3), rlist_next(3), rlist_nth(3), rlist_prepend(3), rlist_remove(3), roy(3)