Added kernel module for starting the usb stack at boot time. It's not activated thoug...
[cake.git] / rom / dos / getfilesystask.c
blob8bb974081358cf6b488b0977e9abcc8901f35838
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 "dos_intern.h"
9 #include <proto/exec.h>
11 /*****************************************************************************
13 NAME */
14 #include <dos/dosextens.h>
15 #include <proto/dos.h>
17 AROS_LH0(struct MsgPort *, GetFileSysTask,
19 /* SYNOPSIS */
20 /* void */
22 /* LOCATION */
23 struct DosLibrary *, DOSBase, 87, Dos)
25 /* FUNCTION
26 Return the default filesystem handler for this process.
28 INPUTS
29 None.
31 RESULT
32 The default filesystem handler for this process.
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
41 SetFileSysTask()
43 INTERNALS
45 *****************************************************************************/
47 AROS_LIBFUNC_INIT
49 return BADDR(((struct Process *)FindTask(NULL))->pr_FileSystemTask);
51 AROS_LIBFUNC_EXIT
52 } /* GetFileSysTask */