Minor fixes to comments.
[AROS.git] / rom / exec / deleteiorequest.c
blob93a1edadffd699d3d31f4dd998a385f6980bdcf3
1 /*
2 Copyright © 1995-2009, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Free an I/O request.
6 Lang: english
7 */
8 #include "exec_intern.h"
9 #include <aros/libcall.h>
10 #include <exec/io.h>
11 #include <proto/exec.h>
13 /*****************************************************************************
15 NAME */
17 AROS_LH1(void, DeleteIORequest,
19 /* SYNOPSIS */
20 AROS_LHA(APTR, iorequest, A0),
22 /* LOCATION */
23 struct ExecBase *, SysBase, 110, Exec)
25 /* FUNCTION
26 Delete an I/O request created with CreateIORequest().
28 INPUTS
29 iorequest - Pointer to I/O request structure or NULL.
31 RESULT
33 NOTES
35 EXAMPLE
37 BUGS
39 SEE ALSO
41 INTERNALS
43 ******************************************************************************/
45 AROS_LIBFUNC_INIT
47 if(iorequest != NULL)
48 /* Just free the memory */
49 FreeMem(iorequest, ((struct Message *)iorequest)->mn_Length);
50 AROS_LIBFUNC_EXIT
51 } /* DeleteIORequest() */