rlist_append(3)

rlist_append3

Add an entry to the end of an rlist

Usage

#include <roy.h>

void rlist_append (RList * list, RListEntry * entry);

Overview

Add entry at the end of list. The rlist_append(3) api is implmented using a macro so using the RListEntry * as the entry is only advisorial. See rlist(3) on how to create RListEntry compatible entry structs.

The programmer is responsible for contructing/allocating the entry prior to calling rlist_append(3).

Because rlists have both head and tail pointers, there is no additional proformance impact incurred from calling rlist_append(3) instead of rlist_prepend(3).

Return value

This call doesn't return any value.

Errors

A call to rlist_append(3) will never fail.

Macro

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

Releases

2 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0
  2. 3.1

From libroy-dev 1.0.8-1 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.