Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PRD_AGENT(3PROC)       Process Control Library Functions      PRD_AGENT(3PROC)
   2 
   3 NAME
   4      Prd_agent - get librtld_db agent
   5 
   6 SYNOPSIS
   7      Process Control Library (libproc, -lproc)


   8      #include <libproc.h>
   9 
  10      rd_agent_t *
  11      Prd_agent(struct ps_prochandle *P);
  12 
  13 DESCRIPTION
  14      The Prd_agent() function returns a pointer to an agent suitable for use
  15      with the run-time link editing database library, librtld_db(3LIB),
  16      corresponding to the process handle P.
  17 
  18      The returned agent is valid until either the process handle executes a
  19      new process image through the exec(2) family of calls or the process
  20      handle P is released through a call to Prelease(3PROC).
  21 
  22 RETURN VALUES
  23      Upon successful completion, the Prd_agent() function returns a pointer to
  24      the librtld_db agent.  Otherwise, it returns NULL to indicate failure.
  25 
  26 INTERFACE STABILITY
  27      Uncommitted
   1 PRD_AGENT(3PROC)       Process Control Library Functions      PRD_AGENT(3PROC)
   2 
   3 NAME
   4      Prd_agent - get librtld_db agent
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      rd_agent_t *
  13      Prd_agent(struct ps_prochandle *P);
  14 
  15 DESCRIPTION
  16      The Prd_agent() function returns a pointer to an agent suitable for use
  17      with the run-time link editing database library, librtld_db(3LIB),
  18      corresponding to the process handle P.
  19 
  20      The returned agent is valid until either the process handle executes a
  21      new process image through the exec(2) family of calls or the process
  22      handle P is released through a call to Prelease(3PROC).
  23 
  24 RETURN VALUES
  25      Upon successful completion, the Prd_agent() function returns a pointer to
  26      the librtld_db agent.  Otherwise, it returns NULL to indicate failure.
  27 
  28 INTERFACE STABILITY
  29      Uncommitted