ldr_xdetach(3) Library Functions Manual ldr_xdetach(3)NAME
ldr_xdetach - Detaches from an attached process
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <sys/types.h> #include <loader.h>
int ldr_xdetach( ldr_process_t process );
PARAMETERS
Specifies the process from which to detach.
DESCRIPTION
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.
NOTES
This function currently works only for the current process and the kernel.
RETURN VALUES
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.
ERRORS
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.
RELATED INFORMATION
Functions: ldr_xattach(3) delim off
ldr_xdetach(3)
Check Out this Related Man Page
ldr_xattach(3) Library Functions Manual ldr_xattach(3)NAME
ldr_xattach - Attaches to another process to permit loading/unloading of modules in that process' address space
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <sys/types.h> #include <loader.h>
int ldr_xattach( ldr_process_t process );
PARAMETERS
Specifies the process to attach to.
DESCRIPTION
The ldr_xattach() function is used to permit a process to load, unload, query, or retrieve the contents of another process' address space.
NOTES
This function currently works only for the current process or the kernel.
RETURN VALUES
If the attach operation is a success, the function returns a code of 0 (zero). If the attach fails, the function returns a negative error
value and errno is set to indicate the error.
ERRORS
If the ldr_xattach() function fails, errno may be set to the following value: The process identified is nonshared and does not support
loader operations. The process identifier is invalid.
Additional errors are possible from the underlying IPC mechanism.
RELATED INFORMATION
Functions: ldr_xdetach(3) delim off
ldr_xattach(3)
Hi Folks,
Today hasn't been the best one of my career in IT.
I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them.
At the... (3 Replies)