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