Go to the documentation of this file.
58 va_start(argp, f_str);
59 vfprintf(
stderr, f_str, argp);
62 if (strlen(f_str) == 0 || f_str[strlen(f_str)-1] !=
'\n')
81 va_start(argp, f_str);
82 vfprintf(
stderr, f_str, argp);
177 #if defined(WIN32) || defined(__MINGW32__)
178 return strerror(errnum);
181 static __thread
char buf[1024];
183 strerror_r(errnum, buf, 1024);
188 return strerror(errnum);
200 #ifdef HAVE_EXECINFO_H
206 strings = backtrace_symbols(
array,
size);
208 printf(
"Obtained %d stack frames.\n",
size);
210 printf(
"%s\n", strings[
i]);
__thread jmp_buf gk_jbufs[MAX_JBUFS]
char * gk_strerror(int errnum)
Thread-safe implementation of strerror()
void errexit(char *f_str,...)
__thread int gk_cur_jbufs
static __thread gksighandler_t old_SIGMEM_handler
void gk_sigthrow(int signum)
static __thread gksighandler_t old_SIGERR_handler
void gk_UnsetSignalHandlers()
static int gk_exit_on_error
void gk_SetSignalHandlers()
static __thread gksighandler_t old_SIGERR_handlers[MAX_JBUFS]
void gk_NonLocalExit_Handler(int signum)
static __thread gksighandler_t old_SIGMEM_handlers[MAX_JBUFS]
void(* gksighandler_t)(int)
void gk_set_exit_on_error(int value)
void gk_errexit(int signum, char *f_str,...)
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:31