Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PADDR_TO_LOADOBJ(3PROC)                      Process Control Library Functions
   2 
   3 NAME
   4      Paddr_to_loadobj, Plmid_to_loadobj, Pname_to_loadobj - lookup loaded
   5      object information
   6 
   7 SYNOPSIS
   8      Process Control Library (libproc, -lproc)


   9      #include <libproc.h>
  10 
  11      const rd_loadobj_t *
  12      Paddr_to_loadobj(struct ps_prochandle *P, uintptr_t addr);
  13 
  14      const rd_loadobj_t *
  15      Plmid_to_loadobj(struct ps_prochandle *P, Lmid_t lmid, const char *name);
  16 
  17      const rd_loadobj_t *
  18      Pname_to_loadobj(struct ps_prochandle *P, const char *name);
  19 
  20 DESCRIPTION
  21      The Paddr_to_loadobj(), Plmid_to_loadobj(), and Pname_to_loadobj()
  22      functions lookup loaded object information from the process handle P.
  23      This information is provided by the run-time link-editor, ld.so.1(1), and
  24      provides information about the loaded object such as the link-map
  25      identifier, the TLS module ID, and the address of various sections.
  26 
  27      The pointer to the data returned by the library will only be valid for as
  28      long as the handle P is valid.  Any calls to Prelease(3PROC) will


   1 PADDR_TO_LOADOBJ(3PROC)                      Process Control Library Functions
   2 
   3 NAME
   4      Paddr_to_loadobj, Plmid_to_loadobj, Pname_to_loadobj - lookup loaded
   5      object information
   6 
   7 LIBRARY
   8      Process Control Library (libproc, -lproc)
   9 
  10 SYNOPSIS
  11      #include <libproc.h>
  12 
  13      const rd_loadobj_t *
  14      Paddr_to_loadobj(struct ps_prochandle *P, uintptr_t addr);
  15 
  16      const rd_loadobj_t *
  17      Plmid_to_loadobj(struct ps_prochandle *P, Lmid_t lmid, const char *name);
  18 
  19      const rd_loadobj_t *
  20      Pname_to_loadobj(struct ps_prochandle *P, const char *name);
  21 
  22 DESCRIPTION
  23      The Paddr_to_loadobj(), Plmid_to_loadobj(), and Pname_to_loadobj()
  24      functions lookup loaded object information from the process handle P.
  25      This information is provided by the run-time link-editor, ld.so.1(1), and
  26      provides information about the loaded object such as the link-map
  27      identifier, the TLS module ID, and the address of various sections.
  28 
  29      The pointer to the data returned by the library will only be valid for as
  30      long as the handle P is valid.  Any calls to Prelease(3PROC) will