Top Document: comp.sys.hp.hpux FAQ Previous Document: 6.1.5 Why is syslog() call not doing what i want it to? Next Document: 6.1.7 HP C++ email discussion lists See reader questions & answers on this topic! - Help others by sharing your knowledge Here is how you get a C program automatically generate a stack dump when they abend: U_STACK_TRACE() is an undocumented function that resides in libcl. Set up the signal handling like this: #include <signal.h> extern void U_STACK_TRACE(); signal(SIGSEGV, U_STACK_TRACE); User Contributions:Top Document: comp.sys.hp.hpux FAQ Previous Document: 6.1.5 Why is syslog() call not doing what i want it to? Next Document: 6.1.7 HP C++ email discussion lists Single Page [ Usenet FAQs | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: hpux.faq@gmail.com
Last Update March 27 2014 @ 02:11 PM
|
Comment about this article, ask questions, or add new information about this topic: