tss_get(3) | Library Functions Manual | tss_get(3) |
NAME
tss_get
— get
thread specific data
SYNOPSIS
library “threads”
#include <threads.h>
void *
tss_get
(tss_t
*key);
DESCRIPTION
The function
tss_get
()
will obtain the thread-specific data for the given data
key.
By default the data is NULL
if it has not
been initialized before.
tss_get
()
can be called from a TSS destructor supplied to
tss_create(3).
RETURN VALUES
On success tss_get
() will return the
thread specific data if it has been set or NULL
otherwise.
SEE ALSO
HISTORY
The tss_get
() function first appeared in
the C11 standard ISO/IEC 9899:2011.
AUTHORS
Jan Adelsbach <jan@jadelsbach.de>
May 9, 2020 | Debian |