40 #ifndef ti_sysbios_runtime_System__include 41 #define ti_sysbios_runtime_System__include 52 #define ti_sysbios_runtime_System_long_names 53 #include "System_defs.h" 67 #define System_A_cannotFitIntoArg "sizeof(float) > sizeof(intptr_t)" 70 typedef struct System_ParseData System_ParseData;
71 typedef struct System_Module_State System_Module_State;
72 typedef int (*System_ExtendFxn)(
char** arg1,
const char ** arg2, va_list* arg3, System_ParseData* arg4);
84 struct System_ParseData {
96 struct System_Module_State {
98 int numAtexitHandlers;
148 extern const System_ExtendFxn System_extendFxn;
150 extern void System_init(
void);
396 extern int System_snprintf(
char buf[],
size_t n,
const char * fmt, ...);
418 extern int System_vsnprintf(
char buf[],
size_t n,
const char * fmt, va_list va);
421 extern void System_processAtExit(
int stat);
422 extern int System_printf_va(
const char * fmt, va_list _va);
423 extern int System_aprintf_va(
const char * fmt, va_list _va);
424 extern int System_sprintf_va(
char buf[],
const char * fmt, va_list _va);
425 extern int System_asprintf_va(
char buf[],
const char * fmt, va_list _va);
426 extern int System_snprintf_va(
char buf[],
size_t n,
const char * fmt, va_list _va);
427 extern int System_aprintf(
const char * fmt, ...);
428 extern int System_asprintf(
char buf[],
const char * fmt, ...);
429 extern int System_avprintf(
const char * fmt, va_list va);
430 extern int System_avsprintf(
char buf[],
const char * fmt, va_list va);
431 extern int System_printfExtend(
char **bufp,
const char * *fmt, va_list *va, System_ParseData *parse);
432 extern int System_doPrint(
char buf[],
size_t n,
const char * fmt, va_list *pva,
bool aFlag);
433 extern void System_lastFxn(
void);
434 extern void System_putchar(
char **bufp,
char ch,
size_t *n);
435 extern void System_rtsExit(
void);
436 extern bool System_atexitDone(
void);
437 extern System_Module_State System_Module_state;
439 #define System_module ((System_Module_State *) &(System_Module_state)) 448 #undef ti_sysbios_runtime_System_long_names 449 #include "System_defs.h" const System_AbortFxn System_abortFxn
Abort handler function.
void System_flush(void)
Flush standard System I/O.
int System_vsprintf(char buf[], const char *fmt, va_list va)
A va_list sprintf.
int System_vsnprintf(char buf[], size_t n, const char *fmt, va_list va)
A va_list snprintf.
void(* System_ExitFxn)(int arg1)
System exit function prototype.
Definition: System.h:117
void System_exit(int stat)
Exit currently running executable.
void System_abort(const char *str)
Print a message and abort currently running executable.
int System_vprintf(const char *fmt, va_list va)
A va_list printf.
const System_ExitFxn System_exitFxn
Exit handler function.
void(* System_AbortFxn)(void)
System abort function prototype.
Definition: System.h:109
void(* System_AtexitHandler)(int arg1)
System's atexit function prototype.
Definition: System.h:81
const int System_maxAtexitHandlers
Maximum number of dynamic atexit handlers allowed in the system.
void System_abortStd(void)
ANSI C Standard implementation of abortFxn function.
void System_exitSpin(int stat)
Implements an exitFxn function.
int System_printf(const char *fmt,...)
A smaller faster printf.
int System_sprintf(char buf[], const char *fmt,...)
Write formated output to a character buffer.
void System_putch(char ch)
Output a single character.
void System_exitStd(int stat)
Implements an exitFxn function.
void System_abortSpin(void)
Lightweight implementation of abortFxn function.
int System_snprintf(char buf[], size_t n, const char *fmt,...)
Write formated output to a character buffer.
bool System_atexit(System_AtexitHandler handler)
Add an exit handler.