home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 41
/
Amiga_Dream_41.iso
/
Amiga
/
Programmation
/
c
/
PDC.lha
/
PDC
/
bin.lzh
/
lib
/
src
/
DeleteExtIO.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1990-04-06
|
312 b
|
14 lines
#include <exec/memory.h>
#include <exec/io.h>
DeleteExtIO (myExtReq, size_extreq)
struct IORequest *myExtReq;
LONG size_extreq;
{
myExtReq->io_Message.mn_Node.ln_Type = 0xFF;
myExtReq->io_Device = (struct Device *) -1;
myExtReq->io_Unit = (struct Unit *) -1;
FreeMem (myExtReq, size_extreq);
}