2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: Check if an I/O request is completed.
8 #include <exec/execbase.h>
10 #include <aros/libcall.h>
11 #include <proto/exec.h>
13 /*****************************************************************************
17 AROS_LH1I(struct IORequest
*, CheckIO
,
20 AROS_LHA(struct IORequest
*, iORequest
, A1
),
23 struct ExecBase
*, SysBase
, 78, Exec
)
26 Check if an I/O request is completed.
29 iORequest - Pointer to iorequest structure.
32 Pointer to the iorequest structure or NULL if the device is still
42 OpenDevice(), CloseDevice(), DoIO(), SendIO(), AbortIO(), WaitIO()
46 ******************************************************************************/
51 The I/O request is still in use if it wasn't done quick
52 and isn't yet replied (ln_Type==NT_MESSAGE).
54 if(!(iORequest
->io_Flags
&IOF_QUICK
)&&
55 iORequest
->io_Message
.mn_Node
.ln_Type
==NT_MESSAGE
)