🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #2795

A couple of AmigaDOS questions...

#2795
From: Todd Andrew Williamson
Date: Wed, 17 Jan 1990 15:34
26 lines
1160 bytes
To all of you DOS gurus:

1)  Is there a way to do non-blocking reads from an AmigaDOS 
    FileHandle?

2)  Is there a way to get a signal when I/O is available on
    a FileHandle?

The reason that I ask is this:  I'm writing a program that
needs to be able to do I/O on the serial & parallel ports
as well as on AmigaDOS FileHandles.  But it needs to be able
to go about it's business until there is something to be read.

I guess what I'm looking for is something along the lines of 
the UNIX select() call.

As you may have guessed, I don't have the DOS manual.  (I was 
hoping that the 1.3 version would come out soon, but it turns
out I need these answers sooner.)

Thanks,

Todd Williamson
tw0i@andrew.cmu.edu
r746tw0i@cmccvb.BITNET
Technical Details
Message-ID: <sZh927G00WB_01qmID@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!tw0i+

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!tw0i+
From: tw0i+@andrew.cmu.edu (Todd Andrew Williamson)
Newsgroups: comp.sys.amiga.tech
Subject: A couple of AmigaDOS questions...
Message-ID: <sZh927G00WB_01qmID@andrew.cmu.edu>
Date: 17 Jan 90 15:34:31 GMT
Organization: Class of '91, Carnegie Mellon, Pittsburgh, PA
Lines: 26