| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
Set or clear the flags for backtracing
|  | The backtrace library is an unsupported feature, due to its fragility. For more information, see Backtraces in the QNX Neutrino technotes. | 
#include <backtrace.h>
int bt_set_flags( bt_accessor_t *acc,
                  unsigned flags,
                  int onoff );
libbacktrace
Use the -l backtrace option to qcc to link against this library.
The bt_set_flags() function lets you turn the specified flags on or off.
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | Yes | 
| Signal handler | Yes | 
| Thread | Yes | 
bt_get_backtrace(), bt_init_accessor(), bt_load_memmap(), bt_release_accessor(), bt_sprn_memmap(), bt_sprnf_addrs(), bt_translate_addrs(), bt_unload_memmap()
Backtraces in the QNX Neutrino technotes
pidin backtrace in the Utilities Reference
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |