td_init(3T)
NAME
td_init − performs initialization for libthread_db library of interfaces
SYNOPSIS
cc [ flag ... ] file ... /lib/libthread_db.so.1 [ library ... ]
#include <proc_service.h>
#include <thread_db.h>
td_err_e td_init();
DESCRIPTION
td_init() is the global initialization function for the libthread_db library of interfaces. It must be called exactly once by any process using the libthread_db library before any other libthread_db function can be called.
RETURN VALUES
TD_OK The libthread_db library of interfaces successfully initialized.
TD_ERR Initialization failed.
ATTRIBUTES
See attributes(5) for description of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| MT Level | Safe |
SEE ALSO
libthread_db(3T), libthread_db(4), attributes(5)
SunOS 5.6 — Last change: 6 Jan 1997