summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/time.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-08-01 19:24:57 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-08-01 19:24:57 +0000
commit22b4b2e0d281d0612d1e9b0bb479463580097ee0 (patch)
tree67488b0f4ccecf3a4832d820d5a4f09c7d93206d /cpukit/posix/src/time.c
parentadded 3 nops following write to wim since a restore following it is (diff)
downloadrtems-22b4b2e0d281d0612d1e9b0bb479463580097ee0.tar.bz2
added page delimiters for comment blocks
Diffstat (limited to 'cpukit/posix/src/time.c')
-rw-r--r--cpukit/posix/src/time.c23
1 files changed, 16 insertions, 7 deletions
diff --git a/cpukit/posix/src/time.c b/cpukit/posix/src/time.c
index 1af360c359..40c5332759 100644
--- a/cpukit/posix/src/time.c
+++ b/cpukit/posix/src/time.c
@@ -81,7 +81,8 @@ time_t time(
return seconds_since_epoch;
}
-/*
+/*PAGE
+ *
* 14.2.1 Clocks, P1003.1b-1993, p. 263
*/
@@ -149,7 +150,8 @@ int clock_settime(
return 0;
}
-/*
+/*PAGE
+ *
* 14.2.1 Clocks, P1003.1b-1993, p. 263
*/
@@ -167,8 +169,10 @@ int clock_gettime(
switch ( clock_id ) {
case CLOCK_REALTIME:
+#if 0
if ( !_TOD_Is_set() ) /* XXX does posix allow it to not be set? */
set_errno_and_return_minus_one( EINVAL );
+#endif
_ISR_Disable( level );
seconds = _TOD_Seconds_since_epoch;
@@ -199,7 +203,8 @@ int clock_gettime(
return 0;
}
-/*
+/*PAGE
+ *
* 14.2.1 Clocks, P1003.1b-1993, p. 263
*/
@@ -228,7 +233,8 @@ int clock_getres(
return 0;
}
-/*
+/*PAGE
+ *
* 14.2.5 High Resolution Sleep, P1003.1b-1993, p. 269
*/
@@ -294,7 +300,8 @@ int nanosleep(
}
-/*
+/*PAGE
+ *
* 20.1.3 Accessing a Process CPU-time CLock, P1003.4b/D8, p. 55
*/
@@ -306,7 +313,8 @@ int clock_getcpuclockid(
return POSIX_NOT_IMPLEMENTED();
}
-/*
+/*PAGE
+ *
* 20.1.5 CPU-time Clock Attribute Access, P1003.4b/D8, p. 58
*/
@@ -318,7 +326,8 @@ int clock_setenable_attr(
return POSIX_NOT_IMPLEMENTED();
}
-/*
+/*PAGE
+ *
* 20.1.5 CPU-time Clock Attribute Access, P1003.4b/D8, p. 58
*/