##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# tss_get

From cppreference.com
< c‎ | thread

Defined in header `<threads.h>` |  |
void *tss_get( tss_t tss_id ); |  | (since C11)

Returns the value held in thread-specific storage for the current thread identified by `tss_id`

### [edit] Parameters

tss_id | - | identifies the thread-specific storage to access

### [edit] Return value

The value on success, NULL on failure.

### [edit] See also

tss_set (C11) | write to thread-specific storage (function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/thread/tss_get&oldid=63564"