TD_INIT(3C_DB) Threads Debugging Library Functions TD_INIT(3C_DB)

td_init - performs initialization for libc_db library of interfaces

cc [ flag... ] file...  -lc_db [ library... ]
#include <proc_service.h>
#include <thread_db.h>
td_err_e td_init();

The td_init() function is the global initialization function for the libc_db() library of interfaces. It must be called exactly once by any process using the libc_db() library before any other libc_db() function can be called.

TD_OK

The libc_db() library of interfaces successfully initialized.

TD_ERR

Initialization failed.

See attributes(7) for description of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT Level Safe

libc_db(3LIB), attributes(7)

October 19, 1998 OmniOS