Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

td_init(3cdb) [opensolaris man page]

td_init(3C_DB)						Threads Debugging Library Functions					    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) SunOS 5.11 19 Oct 1998 td_init(3C_DB)

Check Out this Related Man Page

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

NAME
td_thr_tsd - get a thread's thread-specific data 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_thr_tsd(const td_thrhandle_t, const thread_key_t key, void *data_pp); DESCRIPTION
The td_thr_tsd() function returns in *data_pp the thread-specific data pointer for the thread identified by th_p and the thread-specific data key key. This is the same value that the thread th_p would obtain if it called thr_getspecific(3C). To find all the thread-specific data keys in use in a given target process, call td_ta_tsd_iter(3C_DB). RETURN VALUES
TD_OK The call completed successfully. TD_BADTH An invalid thread handle was passed in. TD_DBERR A call to one of the imported interface routines failed. TD_ERR A libc_db internal error occurred. ATTRIBUTES
See attributes(5) for description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
libc_db(3LIB), td_ta_tsd_iter(3C_DB), thr_getspecific(3C), attributes(5) SunOS 5.10 20 Oct 1998 td_thr_tsd(3C_DB)
Man Page

3 More Discussions You Might Find Interesting

1. Solaris

NFS and RPC in Solaris 10

I have been told to disable the rpc processes such as rstat and rusers on some servers for security concerns, what if I am running NFS on those servers. Would it affect the NFS since both rstat and rusers are nfs daemons?? I MUST have the NFS running on the server. Can I disable rstat and rusers... (2 Replies)
Discussion started by: mitsurughi
2 Replies

2. Solaris

Sendmail processes not running

Hi All! I am trying to get sendmail to work but unsuccessfull...when I run ps -ef | grep sendmail root 10578 10561 0 11:01:24 pts/1 0:00 grep sendmail I do not see its processes When I run the following commands: bash-3.00# svcs sendmail svcs: Pattern 'sendmail' doesn't match... (9 Replies)
Discussion started by: fretagi
9 Replies

3. Red Hat

Broken Centos Cluster

Hi Guys, Hopefully this is just a quick one - but you never know. I have/had a Centos Cluster running a Netbackup server - I've had an outage and we seem to have lost a node. As a consequence I'm in a bit of a quandary, not familiar with this software either. The server is a Dell PowerEdge... (0 Replies)
Discussion started by: gull04
0 Replies