From 05d19d06f23c5f83c1f1adc148680a0a33d9599b Mon Sep 17 00:00:00 2001
From: patacongo
+ Function Prototype:
+
+ Description:
+
+ Input Parameters:
+
+ Returned Values:
+
+ If successful, the gmtime() function will return the pointer to a statically
+ defined instance of
Function Prototype:
2.7.1 clock_settime
@@ -2584,7 +2586,46 @@ VxWorks provides the following comparable interface:
To be provided
.2.7.5 gmtime_r
+2.7.5 gmtime
+
+ #include <time.h>
+ struct tm *gmtime(const time_t *clock);
+
+
+
+clock
.
+ Represents calendar time.
+ This is an absolute time value representing the number of seconds elapsed since 00:00:00
+ on January 1, 1970, Coordinated Universal Time (UTC).
+struct tim
.
+ Otherwise, a NULL will be returned to indicate the error:
+
+
+
+To be provided
.2.7.6 localtime
+
+ #include <time.h>
+ #define localtime(c) gmtime(c)
+
+
+2.7.7 gmtime_r
parm
. clock
.
+ Represents calendar time.
+ This is an absolute time value representing the number of seconds elapsed since 00:00:00
+ on January 1, 1970, Coordinated Universal Time (UTC).
+ result
.
+ A user-provided buffer to receive the converted time structure.
Returned Values:
- If successful, the gmtime_r() function will return zero (OK).
- Otherwise, an non-zero error number will be returned to indicate the error:
+ If successful, the gmtime_r() function will return the pointer, result
,
+ provided by the caller.
+ Otherwise, a NULL will be returned to indicate the error:
To be provided
.#include <time.h> #define localtime_r(c,r) gmtime_r(c,r)-
Function Prototype:
@@ -2688,7 +2735,7 @@ VxWorks provides the following comparable interface:CLOCK_REALTIME
is supported for the clockid
argument.Function Prototype:
@@ -2727,7 +2774,7 @@ VxWorks provides the following comparable interface: Comparable to the POSIX interface of the same name. -Function Prototype:
@@ -2810,7 +2857,7 @@ VxWorks provides the following comparable interface:ovalue
argument is ignored.Function Prototype:
@@ -2857,7 +2904,7 @@ VxWorks provides the following comparable interface: Comparable to the POSIX interface of the same name. -Function Prototype:
@@ -2918,7 +2965,7 @@ VxWorks provides the following comparable interface: interface of the same name. -Function Prototype:
@@ -7553,6 +7600,7 @@ notify a task when a message is available on a queue.