dl_next()
#
Returns the next item in a doubly linked list relative to the given item.
Prototype
void *dl_next(void *curr);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
Pointer to the current item in the doubly linked list. |
Return Value
A pointer to the next item in the list, or NULL if there is no next item.
Notes
The function assumes that curr
is a valid pointer to an item in a doubly linked list.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples