-
Notifications
You must be signed in to change notification settings - Fork 0
dll_findid
Taras Maliukh edited this page Apr 11, 2020
·
1 revision
dll_obj_t *dll_findid(const dll_t *restrict dll, size_t index);
dll_obj_t *dll_findidr(const dll_t *restrict dll, size_t index);
-
dll_findid
: Find object by index from the start -
dll_findidr
: Find object by index from the end indexing starts from 1
Pointer to desired object otherwise NULL if:
-
dll
is NULL - if
DLL_BIT_EIGN
is no specified:- list
dll
hasn't any objects - object with
index
doesn't exist indll
list
- list