Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – tendra.SVN – Blame – /branches/tendra4/src/lib/apis/ansi/time.h – Rev 2

Subversion Repositories tendra.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
#   		 Crown Copyright (c) 1997
2
#   
3
#   This TenDRA(r) Computer Program is subject to Copyright
4
#   owned by the United Kingdom Secretary of State for Defence
5
#   acting through the Defence Evaluation and Research Agency
6
#   (DERA).  It is made available to Recipients with a
7
#   royalty-free licence for its use, reproduction, transfer
8
#   to other parties and amendment for any purpose not excluding
9
#   product development provided that any such use et cetera
10
#   shall be deemed to be acceptance of the following conditions:-
11
#   
12
#       (1) Its Recipients shall ensure that this Notice is
13
#       reproduced upon any copies or amended versions of it;
14
#   
15
#       (2) Any amended version of it shall be clearly marked to
16
#       show both the nature of and the organisation responsible
17
#       for the relevant amendment or amendments;
18
#   
19
#       (3) Its onward transfer from a recipient to another
20
#       party shall be deemed to be that party's acceptance of
21
#       these conditions;
22
#   
23
#       (4) DERA gives no warranty or assurance as to its
24
#       quality or suitability for any purpose and DERA accepts
25
#       no liability whatsoever in relation to any use to which
26
#       it may be put.
27
#
28
+IMPLEMENT "ansi", "stddef.h", "null" ;
29
+IMPLEMENT "ansi", "stddef.h", "size_t" ;
30
 
31
+SUBSET "time_t" := { +TYPE ( arith ) time_t ; } ;
32
 
33
+FIELD struct tm {
34
    int tm_sec ;
35
    int tm_min ;
36
    int tm_hour ;
37
    int tm_mday ;
38
    int tm_mon ;
39
    int tm_year ;
40
    int tm_wday ;
41
    int tm_yday ;
42
    int tm_isdst ;
43
} ;
44
 
45
+EXP int CLOCKS_PER_SEC ;
46
 
47
+FUNC char *asctime ( const struct tm * ) ;
48
+FUNC char *ctime ( const time_t * ) ;
49
+FUNC struct tm *gmtime ( const time_t * ) ;
50
+FUNC struct tm *localtime ( const time_t * ) ;
51
+FUNC time_t mktime ( struct tm * ) ;
52
+FUNC size_t strftime ( char *, size_t, const char *, const struct tm * ) ;
53
+FUNC time_t time ( time_t * ) ;
54
 
55
+IFNDEF __JUST_POSIX
56
+SUBSET "clock_t" := { +TYPE ( arith ) clock_t ; } ;
57
+FUNC clock_t clock ( void ) ;
58
+IFNDEF __JUST_XPG3
59
+FUNC double difftime ( time_t, time_t ) ;
60
+ENDIF
61
+ENDIF