tss_delete(3)		   Library Functions Manual		 tss_delete(3)

NAME
     tss_delete – delete a thread specific data key

SYNOPSIS
     library “threads”
     #include <threads.h>

     int
     tss_delete(tss_t *key);

DESCRIPTION
     The function tss_delete() will destroy the given thread-specific data
     key.

     Destructor functions specified by tss_create(3) will not be called when
     using tss_delete().  Once the key has been deleted, no destructors will
     be called at the exit of any active thread.  It is the responsibility of
     the application to ensure that no thread with data on the given key is
     active anymore, or to otherwise handle the cleanup of any	data prior to
     calling tss_delete().

RETURN VALUES
     Upon success tss_create() returns thrd_success, otherwise thrd_error will
     be returned.

SEE ALSO
     tss_create(3) tss_get(3) tss_set(3)

HISTORY
     The tss_create() function first appeared in the C11 standard ISO/IEC
     9899:2011.

AUTHORS
     Jan Adelsbach <jan@jadelsbach.de>


Linux 6.13.6-1-default		  May 9, 2020		Linux 6.13.6-1-default