use the toolchain names for the commands
[AROS.git] / rom / dos / getfilesystask.c
blobc52528605294973f4240a5b41784e892b7877083
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Get the filesystem handler for a process.
6 Lang: english
7 */
8 #include <aros/debug.h>
10 #include "dos_intern.h"
11 #include <proto/exec.h>
13 /*****************************************************************************
15 NAME */
16 #include <dos/dosextens.h>
17 #include <proto/dos.h>
19 AROS_LH0(struct MsgPort *, GetFileSysTask,
21 /* SYNOPSIS */
22 /* void */
24 /* LOCATION */
25 struct DosLibrary *, DOSBase, 87, Dos)
27 /* FUNCTION
28 Return the default filesystem handler for this process.
30 INPUTS
31 None.
33 RESULT
34 The default filesystem handler for this process.
36 NOTES
38 EXAMPLE
40 BUGS
42 SEE ALSO
43 SetFileSysTask()
45 INTERNALS
47 *****************************************************************************/
49 AROS_LIBFUNC_INIT
51 struct Process *me = (struct Process *)FindTask(NULL);
52 ASSERT_VALID_PROCESS(me);
53 return me->pr_FileSystemTask;
56 AROS_LIBFUNC_EXIT
57 } /* GetFileSysTask */