firstTLVKey

Returns the first TLV key for the given image.

The TLV key is a key that associates a value of type dyld_tlv_info with a thread. Each thread local variable has an associates TLV key. The TLV keys are all the same for each image.

version(Darwin && D_LP64)
pure nothrow @nogc
pthread_key_t
firstTLVKey

Parameters

header mach_header_64*

the image to look for the TLV key in

Return Value

the first TLV key for the given image or pthread_key_t.max if no key was found.

Meta