?? timeformat.h
字號:
/* $Id: timeformat.h,v 1.1 2005/04/23 14:19:17 simimeie Exp $ * Routines for handling various time representations. * Mainly conversion routines from broken time to timestamps and the other * way round. */ #ifndef _TIMEFORMAT_H_#define _TIMEFORMAT_H_struct brokentime { uint8_t year; uint8_t month; uint8_t day; uint8_t hour; uint8_t min; uint8_t sec;};/* Converts a brokentime-struct to a timestamp */uint32_t bttots(struct brokentime * bt);/* Converts a timestamp to a brokentime-struct */void tstobt(uint32_t ts, struct brokentime * bt); #endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -