compiler/clib: Rename IoErr2errno() to __arosc_ioerr2errno(); function is now defined...
[AROS.git] / compiler / alib / createstdio.c
blob135781b22ed146c0a8d3a45b4df135150f507474
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Create a standard IORequest structure
6 Lang: english
7 */
9 #include <exec/memory.h>
10 #include <proto/exec.h>
12 /*****************************************************************************
14 NAME */
15 #include <exec/io.h>
16 #include <proto/alib.h>
18 struct IOStdReq * CreateStdIO (
20 /* SYNOPSIS */
21 struct MsgPort * port)
23 /* FUNCTION
24 Create a standard IORequest structure. The structire
25 can be freed with DeleteStdIO().
27 INPUTS
28 port - The port to be signaled on events.
30 RESULT
31 A pointer to the new IORequest structure.
33 NOTES
35 EXAMPLE
37 BUGS
39 SEE ALSO
40 CreateExtIO(), DeleteStdIO()
42 INTERNALS
44 HISTORY
46 ******************************************************************************/
48 return (struct IOStdReq *)CreateExtIO (port, sizeof (struct IOStdReq));
49 } /* CreateStdIO */