Fixed compatibility of output.
[AROS.git] / compiler / alib / createstdio.c
blobe7a15023a6475651448a6255db91c4f0dd75d439
1 /*
2 Copyright © 1995-2014, 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 structure must be freed
25 with DeleteStdIO().
27 INPUTS
28 port - The port to be signaled on events. May be NULL, in which case
29 no IORequest is allocated.
31 RESULT
32 A pointer to the new IORequest structure, or NULL.
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
41 CreateExtIO(), DeleteExtIO(), DeleteStdIO()
43 INTERNALS
45 ******************************************************************************/
47 return (struct IOStdReq *)CreateExtIO(port, sizeof(struct IOStdReq));