istream_cur_rd_pointer()

istream_cur_rd_pointer()#

Returns the current read pointer of the istream_h instance, allowing access to the unread portion of the internal buffer.

Prototype

char *istream_cur_rd_pointer(
    istream_h istream
);

Parameters

Key

Type

Description

istream

istream_h

Handle to the input stream whose read pointer is to be retrieved.


Return Value

A pointer to the current read position in the internal buffer. Returns NULL if the istream_h handle is invalid.

Notes

Ensure that istream is properly initialized before calling this function to avoid undefined behavior.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples