Detabbed
[AROS.git] / rom / dos / abortpkt.c
blobf7ea037973dca0b16faa4dd9f46ce78ad087530d
1 /*
2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
9 #include <proto/exec.h>
11 #include "dos_intern.h"
13 /*****************************************************************************
15 NAME */
16 #include <dos/dosextens.h>
17 #include <proto/dos.h>
19 AROS_LH2(void, AbortPkt,
21 /* SYNOPSIS */
22 AROS_LHA(struct MsgPort *, port, D1),
23 AROS_LHA(struct DosPacket *, pkt, D2),
25 /* LOCATION */
26 struct DosLibrary *, DOSBase, 44, Dos)
28 /* FUNCTION
29 Tries to abort an asynchronous packet. There is no guarantee
30 that this succeeds. You must wait for the packet to return
31 before you can reuse or deallocate it.
33 INPUTS
34 port - the message port to where the packet was sent
35 pkt - the packet to be aborted
37 RESULT
39 NOTES
41 EXAMPLE
43 BUGS
45 SEE ALSO
47 INTERNALS
49 *****************************************************************************/
51 AROS_LIBFUNC_INIT
53 /* TODO: implement this for real packets (is it possible at all) ? */
55 AROS_LIBFUNC_EXIT
56 } /* AbortPkt */