home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BCI NET 2
/
BCI NET 2.iso
/
archives
/
programming
/
c
/
hce.lha
/
HCE
/
LibSource
/
AmigaLib
/
EXTRAS
/
Source
/
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
|
1992-09-02
|
356 b
|
16 lines
#include <exec/types.h>
#include <exec/memory.h>
#include <exec/io.h>
#include <exec/ports.h>
void DeleteExtIO(ioExt)
struct IORequest *ioExt;
{
ioExt->io_Message.mn_Node.ln_Type = -1;
ioExt->io_Message.mn_ReplyPort = (struct MsgPort *) -1;
ioExt->io_Device = (struct Device *) -1;
FreeMem (ioExt, (ULONG)ioExt->io_Message.mn_Length);
}