#include <linux/time.h>#include <linux/string.h>#include <sys_routines.h>#include <ssdef.h>#include <descrip.h>#include <lib_routines.h>#include <exe_routines.h>Go to the source code of this file.
Classes | |
| struct | TIME |
Defines | |
| #define | TIMEBASE 100000 |
| #define | TIMESIZE 8640000 |
| #define | QUAD_CENTURY_DAYS 146097 |
| #define | CENTURY_DAYS 36524 |
| #define | QUAD_YEAR_DAYS 1461 |
| #define | YEAR_DAYS 365 |
| #define | OFFSET_DAYS 94187 |
| #define | BASE_YEAR 1601 |
Functions | |
| unsigned long | sys___combine_date_time (int days, struct TIME *timadr, int day_time) |
| unsigned long | lib_day (long *days, const void *timadra, int *day_time) |
| unsigned long | lib_cvt_vectim (const void *timbufa, void *timadra) |
| int | exe_asctim (unsigned short *timlen, struct dsc_descriptor *timbuf, const void *timadra, unsigned long cvtflg) |
| int | exe_bintim (struct dsc $descriptor *timbuf, struct TIME *timadra) |
| int | exe_numtim (unsigned short timbuf[7], struct TIME *timadra) |
Variables | |
| const char | month_names [] = "-JAN-FEB-MAR-APR-MAY-JUN-JUL-AUG-SEP-OCT-NOV-DEC-" |
| #define BASE_YEAR 1601 |
| #define CENTURY_DAYS 36524 |
| #define OFFSET_DAYS 94187 |
| #define QUAD_CENTURY_DAYS 146097 |
| #define QUAD_YEAR_DAYS 1461 |
| #define TIMEBASE 100000 |
| #define TIMESIZE 8640000 |
| #define YEAR_DAYS 365 |
| int exe_asctim | ( | unsigned short * | timlen, | |
| struct dsc_descriptor * | timbuf, | |||
| const void * | timadra, | |||
| unsigned long | cvtflg | |||
| ) |
Definition at line 286 of file syscvrtim.c.
References exe_numtim(), month_names, and SS__NORMAL.
Referenced by exe_faol().
| int exe_bintim | ( | struct dsc $descriptor * | timbuf, | |
| struct TIME * | timadra | |||
| ) |
Definition at line 408 of file syscvrtim.c.
References exe_numtim(), lib_cvt_vectim, month_names, and SS__IVTIME.
| int exe_numtim | ( | unsigned short | timbuf[7], | |
| struct TIME * | timadra | |||
| ) |
Definition at line 537 of file syscvrtim.c.
References BASE_YEAR, CENTURY_DAYS, lib_day, OFFSET_DAYS, QUAD_CENTURY_DAYS, QUAD_YEAR_DAYS, SS__NORMAL, TIME::time, and YEAR_DAYS.
Referenced by exe_asctim(), and exe_bintim().
| unsigned long lib_cvt_vectim | ( | const void * | timbufa, | |
| void * | timadra | |||
| ) |
Definition at line 213 of file syscvrtim.c.
References BASE_YEAR, OFFSET_DAYS, SS__IVTIME, SS__NORMAL, sys___combine_date_time(), and TIME::time.
| unsigned long lib_day | ( | long * | days, | |
| const void * | timadra, | |||
| int * | day_time | |||
| ) |
Definition at line 132 of file syscvrtim.c.
References exe_gettim(), SS__NORMAL, TIME::time, TIMEBASE, and TIMESIZE.
| unsigned long sys___combine_date_time | ( | int | days, | |
| struct TIME * | timadr, | |||
| int | day_time | |||
| ) |
Definition at line 83 of file syscvrtim.c.
References SS__IVTIME, SS__NORMAL, TIME::time, TIMEBASE, and TIMESIZE.
Referenced by lib_cvt_vectim().
| const char month_names[] = "-JAN-FEB-MAR-APR-MAY-JUN-JUL-AUG-SEP-OCT-NOV-DEC-" |
1.5.5