But I don't wanna do non-blocking I/O...

Conor P. Cahill cpcahil at virtech.uucp
Thu Jun 14 22:49:06 AEST 1990


In article <407 at minya.UUCP> jc at minya.UUCP (John Chambers) writes:
>
>Anyhow, that did solve the problem.  It also meant that I expanded my
>#defines to include SYS5_2 and SYS5_3.  In any case, it looks like one 
>more thing to remember when trying to write portable code.  It ain't 
>getting easier.  I can hardly wait for the Sys/5.4 release.  By then
>maybe I'll be porting stuff to Mach, and going totally insane.

One suggestion:

Do not add a #define for SYS5_anything.  This gets you into all kinds of
problems when you put your stuff on hybrid systems (like 5.4).  Instead
use something like:

#define HAS_NDELAY_READS

which is the explicit capability you are checking about.


-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170 



More information about the Comp.unix.wizards mailing list