IterPos

Table of Contents

IterPos

Description

If there’s space left to read in memory region we’re iterating over, then return a pointer to current read position.

Success

If provided Iter is not NULL_ITER_DATA(mi), and we have space left to read, then return pointer to memory to start/resume reading from.

Failure

NULL_ITER_DATA(mi) othewise

Usage example (Cross-references)

    ///
    /// TAGS: StrIter, Pos, Pos, Iter
    #define StrIterPos(mi) IterPos(mi)
    
    ///

Share :

Related Posts

IterRemainingLength

IterRemainingLength Description Get remaining length left to read this memory iterator.

Read More

IterInitAlignedT

IterInitAlignedT Description Initialize Iter with custom alignment to iterate in forward direction.

Read More

IterNext

IterNext Description Move to next element (wrapper for IterMove)

Read More