1td_init(3C_DB) Threads Debugging Library Functions td_init(3C_DB)
2
3
4
6 td_init - performs initialization for libc_db library of interfaces
7
9 cc [ flag... ] file... -lc_db [ library... ]
10 #include <proc_service.h>
11 #include <thread_db.h>
12
13 td_err_e td_init();
14
15
17 The td_init() function is the global initialization function for the
18 libc_db() library of interfaces. It must be called exactly once by any
19 process using the libc_db() library before any other libc_db() function
20 can be called.
21
23 TD_OK The libc_db() library of interfaces successfully initial‐
24 ized.
25
26
27 TD_ERR Initialization failed.
28
29
31 See attributes(5) for description of the following attributes:
32
33
34
35
36 ┌─────────────────────────────┬─────────────────────────────┐
37 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
38 ├─────────────────────────────┼─────────────────────────────┤
39 │MT Level │Safe │
40 └─────────────────────────────┴─────────────────────────────┘
41
43 libc_db(3LIB), attributes(5)
44
45
46
47SunOS 5.11 19 Oct 1998 td_init(3C_DB)