/usr/include/ptlib/wince/time.h is in libpt-1.10.10-dev 1.10.10-3.1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | //
// (c) Yuriy Gorvitovskiy
// for Openh323, www.Openh323.org
//
// Windows CE Port
//
// Definitions/declarations for time routines
//
// [Microsoft]
// [ANSI/System V]
// [Public]
//
#ifndef _TIME_H
#define _TIME_H
#define _INC_TIME // for wce.h
#include <windows.h>
#include <time.h>
#include <stdlib.h>
#ifndef _TM_DEFINED
#define _TM_DEFINED
struct tm {
int tm_sec; /* seconds after the minute - [0,59] */
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 1 - [0,365] */
int tm_isdst; /* daylight savings time flag */
};
#endif // _TM_DEFINED
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _CLOCK_T_DEFINED
typedef long clock_t;
#define _CLOCK_T_DEFINED
#endif
/* Clock ticks macro - ANSI version */
#define CLOCKS_PER_SEC 1000
/* Function prototypes */
clock_t clock(void);
struct tm * gmtime(const time_t* t);
struct tm * localtime(const time_t* t);
time_t mktime(struct tm* t);
time_t time(time_t* t);
time_t FileTimeToTime(const FILETIME& FileTime);
time_t SystemTimeToTime(const LPSYSTEMTIME pSystemTime);
#ifdef __cplusplus
}
#endif
#endif /* _INC_TIME */
|