Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PADDR_TO_MAP(3PROC)    Process Control Library Functions   PADDR_TO_MAP(3PROC)
   2 
   3 NAME
   4      Paddr_to_map, Paddr_to_text_map, Plmid_to_map, Pname_to_map - lookup
   5      memory map information
   6 
   7 SYNOPSIS
   8      Process Control Library (libproc, -lproc)


   9      #include <libproc.h>
  10 
  11      const prmap_t *
  12      Paddr_to_map(struct ps_prochandle *P, uintptr_t addr);
  13 
  14      const prmap_t *
  15      Paddr_to_text_map(struct ps_prochandle *P, uintptr_t addr);
  16 
  17      const prmap_t *
  18      Plmid_to_map(struct ps_prochandle *P, Lmid_t lmid, const char *name);
  19 
  20      const prmap_t *
  21      Pname_to_map(struct ps_prochandle *P, const char *name);
  22 
  23 DESCRIPTION
  24      The Paddr_to_map(), Paddr_to_text_map(), Plmid_to_map(), and
  25      Pname_to_map() functions lookup memory map information in the process
  26      handle P.  The prmap_t structure provides information such as the size,
  27      offset, and object of the mapping and is defined in proc(4).
  28 


   1 PADDR_TO_MAP(3PROC)    Process Control Library Functions   PADDR_TO_MAP(3PROC)
   2 
   3 NAME
   4      Paddr_to_map, Paddr_to_text_map, Plmid_to_map, Pname_to_map - lookup
   5      memory map information
   6 
   7 LIBRARY
   8      Process Control Library (libproc, -lproc)
   9 
  10 SYNOPSIS
  11      #include <libproc.h>
  12 
  13      const prmap_t *
  14      Paddr_to_map(struct ps_prochandle *P, uintptr_t addr);
  15 
  16      const prmap_t *
  17      Paddr_to_text_map(struct ps_prochandle *P, uintptr_t addr);
  18 
  19      const prmap_t *
  20      Plmid_to_map(struct ps_prochandle *P, Lmid_t lmid, const char *name);
  21 
  22      const prmap_t *
  23      Pname_to_map(struct ps_prochandle *P, const char *name);
  24 
  25 DESCRIPTION
  26      The Paddr_to_map(), Paddr_to_text_map(), Plmid_to_map(), and
  27      Pname_to_map() functions lookup memory map information in the process
  28      handle P.  The prmap_t structure provides information such as the size,
  29      offset, and object of the mapping and is defined in proc(4).
  30