summaryrefslogtreecommitdiff
path: root/ghc/lib/std/cbits/flushFile.lc
diff options
context:
space:
mode:
authorsimonm <unknown>1998-04-10 10:55:01 +0000
committersimonm <unknown>1998-04-10 10:55:01 +0000
commit3f9b5688990aa7c1170c8d995df69087b43dabeb (patch)
tree98ea8a0869cdea0562c94cfb68398ce451046176 /ghc/lib/std/cbits/flushFile.lc
parent1be6e009f6493080ea5d26cdc611279244163db1 (diff)
downloadhaskell-3f9b5688990aa7c1170c8d995df69087b43dabeb.tar.gz
[project @ 1998-04-10 10:54:14 by simonm]
New Run-Time System Support, includes: - New code generator - Modifications to the mangler - Unboxed Tuple support - Various other minor changes.
Diffstat (limited to 'ghc/lib/std/cbits/flushFile.lc')
-rw-r--r--ghc/lib/std/cbits/flushFile.lc30
1 files changed, 0 insertions, 30 deletions
diff --git a/ghc/lib/std/cbits/flushFile.lc b/ghc/lib/std/cbits/flushFile.lc
deleted file mode 100644
index 6cfd484e74..0000000000
--- a/ghc/lib/std/cbits/flushFile.lc
+++ /dev/null
@@ -1,30 +0,0 @@
-%
-% (c) The GRASP/AQUA Project, Glasgow University, 1994
-%
-\subsection[flushFile.lc]{hFlush Runtime Support}
-
-\begin{code}
-
-#include "rtsdefs.h"
-#include "stgio.h"
-
-StgInt
-flushFile(fp)
-StgForeignObj fp;
-{
- int rc;
-
- while ((rc = fflush((FILE *) fp)) != 0) {
- if (errno != EINTR) {
- cvtErrno();
- stdErrno();
- return rc;
- }
- }
- return 0;
-}
-
-\end{code}
-
-
-