StgInt
readBlock(buf, fp, size)
StgAddr buf;
-StgAddr fp;
+StgForeignObj fp;
StgInt size;
{
int count;
StgInt
readLine(buf, fp, size)
StgAddr buf;
-StgAddr fp;
+StgForeignObj fp;
StgInt size;
{
if (feof((FILE *) fp)) {
StgInt
readChar(fp)
-StgAddr fp;
+StgForeignObj fp;
{
int c;