/* flushFile.lc */
StgInt flushFile PROTO((StgForeignObj));
+/* freeFile.lc */
+void freeStdChannel PROTO((StgForeignObj));
+void freeFile PROTO((StgForeignObj));
+
/* getBufferMode.lc */
StgInt getBufferMode PROTO((StgForeignObj));
/* getClockTime.lc */
StgInt getClockTime PROTO((StgByteArray, StgByteArray));
+StgAddr showTime PROTO((I_, StgByteArray, StgByteArray));
+StgAddr toClockSec PROTO((I_, I_, I_, I_, I_, I_, I_, StgByteArray));
+StgAddr toLocalTime PROTO((I_, StgByteArray, StgByteArray));
+StgAddr toUTCTime PROTO((I_, StgByteArray, StgByteArray));
/* getCPUTime.lc */
StgByteArray getCPUTime PROTO((StgByteArray));
+StgInt clockTicks();
/* getCurrentDirectory.lc */
StgAddr getCurrentDirectory(STG_NO_ARGS);
/* openFile.lc */
StgAddr openFile PROTO((StgByteArray, StgByteArray));
-/* freeFile.lc */
-void freeStdChannel PROTO((StgForeignObj));
-void freeFile PROTO((StgForeignObj));
-
/* readFile.lc */
StgInt readBlock PROTO((StgAddr, StgForeignObj, StgInt));
StgInt readLine PROTO((StgAddr, StgForeignObj, StgInt));