(struct s_ndring* ring, int hops, bool check,
size_t offset)
Return +/- nth node frome curent
Documentation
Provide a abritrary position displacement in a ring. It is probably
usefull only for small values of hop counsts (1 or -1), as ring order
does not matter.
- Throws:
- ELOOP Move made a complete loop
EMLINK null pointer found in ring link.
- Parameters:
- ring - (IN) a pointer to ring part of a ring's node
hops - (IN) number of hops to move
check - (IN) Check circular overshoot
offset - (IN) the offset of the ring part in the node.
- Returns:
- 0 the ring is empty or check error, node at pos + hops in the ring.
Alphabetic index
This page was generated with the help of DOC++.
from : machinman.net, updated on