Version 2.0.0-0

system Reference

File
core/xeos/include/xeos/system.h
Date
Wednesday, June 25, 2014
Includes
  • <system/macros.h>
  • <stdint.h>
  • <time.h>

Tasks

XEOS_System_GetTime Top

Gets the actual system time

time_t XEOS_System_GetTime( void );

Return value

The number of seconds since January 1st 1970

XEOS_System_GetTimeMilliSeconds Top

Gets the actual number of milliseconds

double XEOS_System_GetTimeMilliSeconds( void );

Return value

The number of milliseconds

XEOS_System_Panic Top

Kernel panic

void XEOS_System_Panic( const char *message, void ( * beforeHalt )( void ) );

Parameters
  • message
    The panic message

XEOS_System_Panicf Top

Kernel panic

void XEOS_System_Panicf( const char *format, void ( * beforeHalt )( void ), ... ) FORMAT_ATTRIBUTE( printf, 1, 3 );

Parameters
  • format
    The panic message format

Macros

__XEOS_SYSTEM_H__ Top

#define __XEOS_SYSTEM_H__