delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/02/10/23:29:53

From: kroe AT sbcs DOT sunysb DOT edu (KiYun Roe)
Date: Mon, 10 Feb 92 23:26:18 EST
To: Bill Metzenthen <APM233M AT vaxc DOT cc DOT monash DOT edu DOT au>
Subject: Re: Suggested change to go32
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Status: O

I checked up on this when I got home.  The open, write, read, etc.,
calls do a lot of things that _open, _write, _read, etc., don't, so it
won't be practical to switch to the lower-level calls.  If you need to
access more handles, maybe the easiest thing to do is change go32 to
swap in both the PSP and the _openfd[] array (which you'll have to
assume has 20 entries for the time being) before it does i/o, one copy
for go32 i/o and another copy for client program i/o.

_openfd[] is defined in the Borland C++ 2.0 io.h.  I don't know if it's
there in other versions.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019