home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / misc / emu / AROSdev.lha / AROS / compiler / alib / createstdio.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-27  |  940 b   |  50 lines

  1. /*
  2.     (C) 1995-96 AROS - The Amiga Replacement OS
  3.     $Id: createstdio.c,v 1.2 1997/01/27 00:16:35 ldp Exp $
  4.  
  5.     Desc: Create a standard IORequest structure
  6.     Lang: english
  7. */
  8. #include <exec/memory.h>
  9. #include <proto/exec.h>
  10.  
  11. /*****************************************************************************
  12.  
  13.     NAME */
  14. #include <exec/io.h>
  15. #include <proto/alib.h>
  16.  
  17.     struct IOStdReq * CreateStdIO (
  18.  
  19. /*  SYNOPSIS */
  20.     struct MsgPort * port)
  21.  
  22. /*  FUNCTION
  23.     Create a standard IORequest structure. The structire
  24.     can be freed with DeleteStdIO().
  25.  
  26.     INPUTS
  27.     port - The port to be signaled on events.
  28.  
  29.     RESULT
  30.     A pointer to the new IORequest structure.
  31.  
  32.     NOTES
  33.  
  34.     EXAMPLE
  35.  
  36.     BUGS
  37.  
  38.     SEE ALSO
  39.     CreateExtIO(), DeleteStdIO()
  40.  
  41.     INTERNALS
  42.  
  43.     HISTORY
  44.  
  45. ******************************************************************************/
  46. {
  47.     return (struct IOStdReq *)CreateExtIO (port, sizeof (struct IOStdReq));
  48. } /* CreateStdIO */
  49.  
  50.