*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> ldr_xattach (3)              
Title
Content
Arch
Section
 

ldr_xattach(3)

Contents


NAME    [Toc]    [Back]

       ldr_xattach  -  Attache to another process to permit loading/unloading
 of modules in that process' address space

SYNOPSIS    [Toc]    [Back]

       #include <sys/types.h> #include <loader.h>

       int ldr_xattach(
               ldr_process_t process );

LIBRARY    [Toc]    [Back]

       Standard C Library (libc)

PARAMETERS    [Toc]    [Back]

       Specifies the process to attach to.

DESCRIPTION    [Toc]    [Back]

       The ldr_xattach() function is used to permit a process  to
       load,  unload, query, or  retrieve the contents of another
       process' address space.

NOTES    [Toc]    [Back]

       This function currently works only for the current process
       or the  kernel.

RETURN VALUES    [Toc]    [Back]

       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    [Toc]    [Back]

       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.

SEE ALSO    [Toc]    [Back]

      
      
       Functions: ldr_xdetach(3)



                                                   ldr_xattach(3)
[ Back ]
 Similar pages
Name OS Title
cfg_attr_t Tru64 General: Contains information for managing the loading and unloading of kernel modules
mlockall NetBSD lock (unlock) the address space of a process
munlockall FreeBSD lock (unlock) the address space of a process
munlockall OpenBSD lock (unlock) the address space of a process
munlockall NetBSD lock (unlock) the address space of a process
mlockall FreeBSD lock (unlock) the address space of a process
mlockall OpenBSD lock (unlock) the address space of a process
munlockall HP-UX unlock the entire virtual address space of a process
mlockall HP-UX lock a process virtual address space in memory
munlock HP-UX unlock a segment of the process virtual address space
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service