Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Threads Library Functionstd_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 attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
MT LevelSafe

SEE ALSO

 

libthread_db(3THR), libthread_db(3LIB), attributes(5)


SunOS 5.9Go To TopLast Changed 19 Oct 1998

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.