2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: Start an asynchronous I/O request.
8 #include <exec/execbase.h>
10 #include <aros/libcall.h>
11 #include <proto/exec.h>
13 /*****************************************************************************
17 AROS_LH1(void, SendIO
,
20 AROS_LHA(struct IORequest
*, iORequest
, A1
),
23 struct ExecBase
*, SysBase
, 77, Exec
)
26 Start an asynchronous I/O request by calling the device's BeginIO()
27 vector. After sending the messages asynchronously you can wait for
28 the message to be replied at the I/O reply port.
31 iORequest - Pointer to iorequest structure.
42 OpenDevice(), CloseDevice(), DoIO(), CheckIO(), AbortIO(), WaitIO()
46 ******************************************************************************/
50 /* Prepare the message. Don't set quick bit. */
51 iORequest
->io_Flags
=0;
52 iORequest
->io_Message
.mn_Node
.ln_Type
=0;
54 /* Call BeginIO() vector */
55 AROS_LVO_CALL1NR(void,
56 AROS_LCA(struct IORequest
*,iORequest
,A1
),
57 struct Device
*,iORequest
->io_Device
,5,