Skip to content

dll_unlink

Taras Maliukh edited this page Apr 11, 2020 · 1 revision

Synopsis:

dll_obj_t *dll_unlink(dll_t *restrict dll,
    dll_obj_t *restrict dll_obj);

Description:

Removing all links to a given object in the list and return it. Links to next and previous list object will be saved in the return object

Return value:

Pointer to unlink-ed object otherwise NULL if:

  • dll or dll_obj is NULL
Clone this wiki locally