gdl_remove 3 2016-03-06 genlist manual

NAME

gdl_remove - remove an item from a list

SYNPOSIS

void gdl_remove(gdl_list_t *list, itemtype *elem, fieldname *field)

DESCRIPTION

gdl_remove removes elem from the list.

The list must consists of items with the same link-offset; this is assured using field.

This call is implemented as function-like macros evaluating to void.

Arguments:
list A list of which elem should be removed from. May not be NULL.
elem The element; pointer to a struct with complete type (fields known); may not be NULL.
field Structure field name that is used for linking. The field must be of type gdl_elem_t (not a pointer).

SEE ALSO

gdl_remove 3 2016-03-06 genlist manual