summaryrefslogtreecommitdiff
path: root/ghc/lib/std/cbits/flushFile.lc
Commit message (Collapse)AuthorAgeFilesLines
* [project @ 1998-12-02 13:17:09 by simonm]simonm1998-12-021-100/+0
| | | | Move 4.01 onto the main trunk.
* [project @ 1998-11-23 15:44:21 by sof]sof1998-11-231-2/+15
| | | | | | | | | | | | | | | | Extend hConnectTo to also allow output handles to be connected, i.e., h1 <- openFile "foo" WriteMode h2 <- openFile "bar" WriteMode hConnectTo h1 h2 will cause h1's buffer to be flushed when h2's buffer overflows (and it is just about to be flushed.) The implementation is currently not as lazy as that, it flushes h1's buffer regardless of whether h2's buffer overflows or not. This is used to connect 'stderr' and 'stdout', i.e., output on 'stderr' will now cause 'stdout' output to (first) be flushed.
* [project @ 1998-08-14 12:42:01 by sof]sof1998-08-141-10/+67
| | | | Beefed up IO stub functions to not have to rely on stdio any longer
* [project @ 1998-04-10 11:33:12 by simonm]simonm1998-04-101-0/+30
| | | | clean up the mess.
* [project @ 1998-04-10 10:54:14 by simonm]simonm1998-04-101-30/+0
| | | | | | | | | New Run-Time System Support, includes: - New code generator - Modifications to the mangler - Unboxed Tuple support - Various other minor changes.
* [project @ 1998-02-02 17:27:26 by simonm]simonm1998-02-021-0/+30
Library re-organisation: All libraries now live under ghc/lib, which has the following structure: ghc/lib/std -- all prelude files (libHS.a) ghc/lib/std/cbits ghc/lib/exts -- standard Hugs/GHC extensions (libHSexts.a) -- available with '-fglasgow-exts' ghc/lib/posix -- POSIX library (libHSposix.a) ghc/lib/posix/cbits -- available with '-syslib posix' ghc/lib/misc -- used to be hslibs/ghc (libHSmisc.a) ghc/lib/misc/cbits -- available with '-syslib misc' ghc/lib/concurrent -- Concurrent libraries (libHSconc.a) -- available with '-concurrent' Also, several non-standard prelude modules had their names changed to begin with 'Prel' to reduce namespace pollution. Addr ==> PrelAddr (Addr interface available in 'exts') ArrBase ==> PrelArr CCall ==> PrelCCall (CCall interface available in 'exts') ConcBase ==> PrelConc GHCerr ==> PrelErr Foreign ==> PrelForeign (Foreign interface available in 'exts') GHC ==> PrelGHC IOHandle ==> PrelHandle IOBase ==> PrelIOBase GHCmain ==> PrelMain STBase ==> PrelST Unsafe ==> PrelUnsafe UnsafeST ==> PrelUnsafeST