Query: ldr_xattach
OS: osf1
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ldr_xattach(3) Library Functions Manual ldr_xattach(3)NAMEldr_xattach - Attaches to another process to permit loading/unloading of modules in that process' address spaceLIBRARYStandard C Library (libc.a)SYNOPSIS#include <sys/types.h> #include <loader.h> int ldr_xattach( ldr_process_t process );PARAMETERSSpecifies the process to attach to.DESCRIPTIONThe ldr_xattach() function is used to permit a process to load, unload, query, or retrieve the contents of another process' address space.NOTESThis function currently works only for the current process or the kernel.RETURN VALUESIf 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.ERRORSIf 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 INFORMATIONFunctions: ldr_xdetach(3) delim off ldr_xattach(3)
Related Man Pages |
---|
ldr_next_module(3) - osf1 |
ldr_inq_region(3) - osf1 |
mlockall(3) - osf1 |
mq_notify(3) - osf1 |
tcsetpgrp(3) - osf1 |
Similar Topics in the Unix Linux Community |
---|
Debug two process Using GDB |
dbx - attach to process, break when crash |