time.c File Reference

#include "routix/time.h"
#include "routix/8254.h"
#include <routix/kstdio.h>
#include "routix/system.h"

Go to the source code of this file.

Enumerations

Functions

Variables


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
ENERO 
FEBRERO 
MARZO 
ABRIL 
MAYO 
JUNIO 
JULIO 
AGOSTO 
SEPTIEMBRE 
OCTUBRE 
NOVIEMBRE 
DICIEMBRE 

Definition at line 13 of file time.c.


Function Documentation

void actualizar_reloj  )  [inline]
 

Definition at line 57 of file time.c.

char* asctime const struct tm tm  ) 
 

Definition at line 194 of file time.c.

Referenced by time_debug().

int day_of_year int  anio,
int  mes,
int  dia
 

Definition at line 106 of file time.c.

Referenced by init_time().

int es_bisiesto int  year  ) 
 

Definition at line 183 of file time.c.

Referenced by bisiestos(), and day_of_year().

byte get_value word  registro  ) 
 

Definition at line 17 of file time.c.

void init_time void   ) 
 

Definition at line 30 of file time.c.

Referenced by kmain().

struct tm* localtime const time_t clock  ) 
 

Definition at line 63 of file time.c.

Referenced by dump_tm(), local(), and time_debug().

time_t mktime struct tm tm  ) 
 

Definition at line 161 of file time.c.

Referenced by init_time(), local(), and time_debug().

void set_value word  registro,
byte  valor
 

Definition at line 23 of file time.c.


Variable Documentation

char* dias[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }
 

Definition at line 190 of file time.c.

Referenced by asctime(), and day_of_year().

char dias_por_mes[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 } [static]
 

Definition at line 12 of file time.c.

Referenced by day_of_year().

char* mes[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }
 

Definition at line 191 of file time.c.

Referenced by asctime(), and day_of_year().

time_t reloj = 0 [static]
 

Definition at line 14 of file time.c.

Referenced by actualizar_reloj(), init_time(), and localtime().


Generated on Sun May 30 18:38:37 2004 for Routix OS by doxygen 1.3.6