Back to index

glibc  2.9
td_ta_get_ph.c File Reference
#include "thread_dbP.h"

Go to the source code of this file.


td_err_e td_ta_get_ph (const td_thragent_t *ta, struct ps_prochandle **ph)

Function Documentation

td_err_e td_ta_get_ph ( const td_thragent_t *  ta,
struct ps_prochandle **  ph 

Definition at line 25 of file td_ta_get_ph.c.

  LOG ("td_ta_get_ph");

  /* Test whether the TA parameter is ok.  */
  if (! ta_ok (ta))
    return TD_BADTA;

  *ph = ta->ph;

  return TD_OK;