home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 6
/
FreshFish_September1994.bin
/
new
/
dev
/
c
/
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);
}