Ignore:
Timestamp:
Jul 4, 2005, 3:17:39 AM (20 years ago)
Author:
bird
Message:

panic enh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/InnoTekLIBC/backend.h

    • Property cvs2svn:cvs-rev changed from 1.25 to 1.26
    r2203 r2204  
    3838#include <signal.h>
    3939#include <emx/io.h>
     40#include <stdarg.h>
    4041
    4142
     
    10401041/** @} */
    10411042
     1043
     1044/** @defgroup grp_Back_panic    LIBC Backend - Panic Routines
     1045 * @{ */
     1046
     1047/** The panic was caused by a signal. Drop the LIBC PANIC line. */
     1048#define __LIBC_PANIC_SIGNAL         1
     1049/** Don't set the SPM termination code / status. When set the caller is
     1050 * responsible for doing this. */
     1051#define __LIBC_PANIC_NO_SPM_TERM    2
     1052
     1053/**
     1054 * Print a panic message and dump/kill the process.
     1055 *
     1056 * @param   fFlags      A combination of the __LIBC_PANIC_* defines.
     1057 * @param   pvCtx       Pointer to a context record if available. This is a PCONTEXTRECORD.
     1058 * @param   pszFormat   User message which may contain %s and %x.
     1059 * @param   ...         String pointers and unsigned intergers as specified by the %s and %x in pszFormat.
     1060 */
     1061void __libc_Back_panic(unsigned fFlags, void *pvCtx, const char *pszFormat, ...) __attribute__((__noreturn__));
     1062
     1063/**
     1064 * Print a panic message and dump/kill the process.
     1065 *
     1066 * @param   fFlags      A combination of the __LIBC_PANIC_* defines.
     1067 * @param   pvCtx       Pointer to a context record if available. This is a PCONTEXTRECORD.
     1068 * @param   pszFormat   User message which may contain %s and %x.
     1069 * @param   args        String pointers and unsigned intergers as specified by the %s and %x in pszFormat.
     1070 */
     1071void __libc_Back_panicV(unsigned fFlags, void *pvCtx, const char *pszFormat, va_list args) __attribute__((__noreturn__));
     1072
     1073/* @} */
     1074
    10421075__END_DECLS
    10431076
Note: See TracChangeset for help on using the changeset viewer.