manpages.info - online man pages   

SunOS man pages : td_init (3)

Threads Library Functions                           td_init(3THR)

NAME

td_init - performs initialization for libthread_db library of interfaces

SYNOPSIS

cc [ flag ... ] file ... -lthread_db [ 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 attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | MT Level | Safe | |_____________________________|_____________________________|

SEE ALSO

libthread_db(3THR), libthread_db(3LIB), attributes(5) SunOS 5.8 Last change: 19 Oct 1998 1