[project @ 2001-12-18 10:37:52 by simonmar]
authorsimonmar <unknown>
Tue, 18 Dec 2001 10:37:52 +0000 (10:37 +0000)
committersimonmar <unknown>
Tue, 18 Dec 2001 10:37:52 +0000 (10:37 +0000)
commit26e1d2d10d8831a6a1d711ae096824cddcd29145
tree4d7cbef2e2fec850e6d1d7bf1dc745fc0f3e2312
parent9b3d7ebd00f00e953e61dbf62a1045ff7ba910dd
[project @ 2001-12-18 10:37:52 by simonmar]
Allow opening char & block devices with openFile.  Opening a char
device gets you a stream, and a block device a file (these are
heuristics since we can't really tell without trying to lseek() on the
device whether it supports seeking or not, but the defaults are at
least safe).
ghc/lib/std/PrelPosix.hsc