ldr_process_t process );
The ldr_xdetach() function detaches the calling process from process, with which it had been associated for cross-process loading and debugging. This procedure should be used only if a ldr_xattach() was previously performed on the specified process.
This function currently works only for the current process and the kernel.
If the detach operation is a success, the function returns a value of 0 (zero). If the detach fails, the function returns a negative value and errno is set to indicate the error.
If the ldr_xdetach() function fails, errno may be set to the following value: The process identifier is invalid.
Additional errors are possible from the underlying IPC mechanism.
Functions: ldr_xattach(3) delim off