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:
C/C++ Source or Header  |  1992-09-02  |  346 b   |  15 lines

  1. /* Modified by J.P. */
  2.  
  3. #include <exec/types.h>
  4. #include <exec/memory.h>
  5. #include <exec/io.h>
  6.  
  7. DeleteStdIO (myStdReq)
  8. struct IOStdReq *myStdReq;
  9. {
  10.     myStdReq->io_Message.mn_Node.ln_Type = 0xFF;
  11.     myStdReq->io_Device = (struct Device *) -1;
  12.     myStdReq->io_Unit = (struct Unit *) -1;
  13.     FreeMem (myStdReq, (ULONG)sizeof(struct IOStdReq));
  14. }
  15.