gbuffer_getlabel()
#
Retrieves the label associated with the given gbuffer_t
instance.
Prototype
char *gbuffer_getlabel(gbuffer_t *gbuf);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
Pointer to the |
Return Value
Returns a pointer to the label string if it exists, otherwise returns NULL
.
Notes
The returned label is owned by the gbuffer_t
instance and should not be modified or freed by the caller.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples