Subject: A little program I wrote that core dumps. Should it?
To: None <port-arm32@NetBSD.ORG>
From: Alexander Hayward <alexander.hayward@lady-margaret-hall.oxford.ac.uk>
List: port-arm32
Date: 06/15/1997 22:52:59
I know its probably a dodgy thing to do, but should

void main(void) {
 FILE *f;
 f = fopen("/dev/lpt0");
 while (!feof(f)) putchar(fgetc(f));
}

cause a core dump after a little while?

I have no printer attached.

page fault, IIRC, but unfortionately its not 'net connected so I'll have
to remember to write it to floppy next time I'm running RiscBSD...

-- 
alex@hayward.u-net.com
alexander.hayward@lmh.ox.ac.uk