equal
deleted
inserted
replaced
1 time.h |
1 /* |
|
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 #ifndef _SYS_TIME_H_ |
|
23 #define _SYS_TIME_H_ |
|
24 #ifdef __cplusplus |
|
25 extern "C" { |
|
26 #endif |
|
27 #include <_ansi.h> |
|
28 /** |
|
29 @publishedAll |
|
30 @released |
|
31 */ |
|
32 struct timeval { |
|
33 long tv_sec; |
|
34 long tv_usec; |
|
35 }; |
|
36 /** |
|
37 @publishedAll |
|
38 @released |
|
39 */ |
|
40 struct timezone { |
|
41 int tz_minuteswest; |
|
42 int tz_dsttime; |
|
43 }; |
|
44 |
|
45 IMPORT_C int gettimeofday (struct timeval *tp, struct timezone *tzp); |
|
46 |
|
47 #ifdef __cplusplus |
|
48 } |
|
49 #endif |
|
50 #endif |