home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 2
/
goldfish_vol2_cd1.bin
/
files
/
dev
/
c
/
hce
/
libsource
/
amigalib
/
extras
/
source
/
deletestdio.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
|
346 b
|
15 lines
/* Modified by J.P. */
#include <exec/types.h>
#include <exec/memory.h>
#include <exec/io.h>
DeleteStdIO (myStdReq)
struct IOStdReq *myStdReq;
{
myStdReq->io_Message.mn_Node.ln_Type = 0xFF;
myStdReq->io_Device = (struct Device *) -1;
myStdReq->io_Unit = (struct Unit *) -1;
FreeMem (myStdReq, (ULONG)sizeof(struct IOStdReq));
}