From: Damian Frank Subject: Raw file access question To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Fri, 7 Apr 1995 13:17:18 -0400 (EDT) (I posted to the list a while back with some problems..well, I'm happy to say that they've been resolved - by removing Norton Cache 2 from memory. Go figure.) I need to do some raw binary file i/o. Under UNIX, I'd just use read and write, which is exactly what I tried to do - and failed. My file contains an end-of-file char (0x1a under DOS), and read stops right there, reporting end-of-file. At this point, I see no other alternative than going right to DOS via int21, as I've done in real mode before. However, it seems like there should be an easier way. Is there? -- ________________ _______________________________________________ / Damian Frank \ / "The price of seeking to force our beliefs on \ | damianf AT wpi DOT edu | others is that someday they might force their | | WPI CS '97 | beleifs on us." -- Mario Cuomo | \________________/ \_______________________________________________/