man pages section 3: Basic Library Functions

Exit Print View

Updated: July 2014
 
 

td_init(3C_DB)

Name

td_init - performs initialization for libc_db library of interfaces

Synopsis

cc [ flag... ] file...  -lc_db [ library... ]
#include <proc_service.h>
#include <thread_db.h>

td_err_e td_init();

Description

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.

Return Values

TD_OK

The libc_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

libc_db(3LIB), attributes(5)