mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
33 lines
962 B
C
33 lines
962 B
C
/*
|
|
* Copyright (C) 2014 INRIA
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
* directory for more details.
|
|
*/
|
|
|
|
#ifndef MSPGCC_TIME_H
|
|
#define MSPGCC_TIME_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct tm {
|
|
int tm_sec; /* Seconds after the minute [0, 60] */
|
|
int tm_min; /* Minutes after the hour [0, 59] */
|
|
int tm_hour; /* Hours since midnight [0, 23] */
|
|
int tm_mday; /* Day of the month [1, 31] */
|
|
int tm_mon; /* Months since January [0, 11] */
|
|
int tm_year; /* Years since 1900 */
|
|
int tm_wday; /* Days since Sunday [0, 6] */
|
|
int tm_yday; /* Days since January 1st [0, 365] */
|
|
int tm_isdst; /* Daylight saving time is in effect */
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|