(struct s_dring* ring, struct s_dring* new,
size_t offset)
Add a new element in the ring.
Documentation
Insert a new pearl in a ring.
Return is always valid, even if ring is nil.
Be carefull if new can be nil, as you can lose the ring handle.
- Throws:
- EEXIST , new is already in ring.
EFAULT new is nil.
EMLINK null pointer found in ring link.
- Parameters:
- ring - (IN) a pointer to ring part of a ring's node
new - (IN) a pointer to the ring part of the node
offset - (IN) the offset of the ring part in the node.
- Returns:
- 0 the ring is empty, or the next node in the ring.
Alphabetic index
This page was generated with the help of DOC++.
from : machinman.net, updated on