man rlist_next (Fonctions bibliothèques) - follow the next pointer of an rlist entry

NAME

rlist_next - follow the next pointer of an rlist entry

SYNOPSIS

#include <roy.h>

RListEntry * rlist_next (RListEntry * entry);

DESCRIPTION

Follow the entry's next pointer. The rlist_next(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_prev(3) call does the exact opposite of this call.

RETURN VALUE

This call returns entry's next pointer. If the return value is NULL then the entry is the last entry in the list.

ERRORS

A call to rlist_next(3) will never fail.

MACRO

The rlist_next(3) api is implemented using a macro.

SEE ALSO