_lwp_getname() gets the descriptive name of the LWP. It takes the following arguments.
target
The LWP whose descriptive name will be obtained.
name
The buffer to be filled with the descriptive name of the LWP.
len
The size of the buffer name in bytes.