stumpless 2.2.0
Loading...
Searching...
No Matches
prival.h File Reference

Functions for working with privals. More...

Go to the source code of this file.

Functions

STUMPLESS_PUBLIC_FUNCTION const char * stumpless_get_prival_string (int prival)
 Gets the string representation of the given prival.
 

Detailed Description

Functions for working with privals.

Since
release v2.2.0

Function Documentation

◆ stumpless_get_prival_string()

STUMPLESS_PUBLIC_FUNCTION const char * stumpless_get_prival_string ( int prival)

Gets the string representation of the given prival.

The string returned must be freed by the caller when it is no longer needed to avoid memory leaks.

Thread Safety: MT-Safe This function is thread safe.

Async Signal Safety: AS-Unsafe heap This function is not safe to call from signal handlers due to the use of memory management functions.

Async Cancel Safety: AC-Unsafe heap This function is not safe to call from threads that may be asynchronously cancelled due to the use of memory management functions.

Since
release v2.2.0
Parameters
privalint to get the string from.
Returns
The string representation of the given prival.