Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PLOOKUP_BY_ADDR(3PROC)                       Process Control Library Functions
   2 
   3 NAME
   4      Plookup_by_addr, Pxlookup_by_addr, Pxlookup_by_addr_resolved,
   5      Plookup_by_name, Pxlookup_by_name - lookup symbols in a process
   6 
   7 SYNOPSIS
   8      Process Control Library (libproc, -lproc)


   9      #include <libproc.h>
  10 
  11      int
  12      Plookup_by_addr(struct ps_prochandle *P, uintptr_t addr, char *buf,
  13          size_t size, Gelf_Sym *symp);
  14 
  15      int
  16      Pxlookup_by_addr(struct ps_prochandle *P, uintptr_t addr, char *buf,
  17          size_t size, Gelf_Sym *symp, prsyminfo_t *sip);
  18 
  19      int
  20      Pxlookup_by_addr_resolved(struct ps_prochandle *P, uintptr_t addr,
  21          char *buf, size_t size, Gelf_Sym *symp, prsyminfo_t *sip);
  22 
  23      int
  24      Plookup_by_name(struct ps_prochandle *P, const char *object,
  25          const char *symbol, GElf_Sym *symp);
  26 
  27      int
  28      Pxlookup_by_name(struct ps_prochandle *P, Lmid_t lmid,


   1 PLOOKUP_BY_ADDR(3PROC)                       Process Control Library Functions
   2 
   3 NAME
   4      Plookup_by_addr, Pxlookup_by_addr, Pxlookup_by_addr_resolved,
   5      Plookup_by_name, Pxlookup_by_name - lookup symbols in a process
   6 
   7 LIBRARY
   8      Process Control Library (libproc, -lproc)
   9 
  10 SYNOPSIS
  11      #include <libproc.h>
  12 
  13      int
  14      Plookup_by_addr(struct ps_prochandle *P, uintptr_t addr, char *buf,
  15          size_t size, Gelf_Sym *symp);
  16 
  17      int
  18      Pxlookup_by_addr(struct ps_prochandle *P, uintptr_t addr, char *buf,
  19          size_t size, Gelf_Sym *symp, prsyminfo_t *sip);
  20 
  21      int
  22      Pxlookup_by_addr_resolved(struct ps_prochandle *P, uintptr_t addr,
  23          char *buf, size_t size, Gelf_Sym *symp, prsyminfo_t *sip);
  24 
  25      int
  26      Plookup_by_name(struct ps_prochandle *P, const char *object,
  27          const char *symbol, GElf_Sym *symp);
  28 
  29      int
  30      Pxlookup_by_name(struct ps_prochandle *P, Lmid_t lmid,