gbuffer_cur_rd_pointer()

gbuffer_cur_rd_pointer()#

Returns a pointer to the current read position in the gbuffer_t structure.

Prototype

void *gbuffer_cur_rd_pointer(
    gbuffer_t *gbuf
);

Parameters

Key

Type

Description

gbuf

gbuffer_t *

Pointer to the gbuffer_t structure.


Return Value

Returns a pointer to the current read position in the buffer.

Notes

Ensure that gbuf is not NULL 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