LibHTTP API Reference

December 19, 2016 ยท View on GitHub

httplib_pthread_key_delete( key );

Parameters

ParameterTypeDescription
keypthread_key_tThe key to delete

Return Value

TypeDescription
intInteger value with the result of the function

Description

The platform independent function httplib_pthread_key_delete() is used to delete a previously allocated key to thread specific data memory. The function returns 0 when succesful or an error code if something went wrong. On systems which support it, the functionality is implemented as a direct call to pthread_key_delete(). Otherwise own code is used with equivalent functionality.

See Also