2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: Get the filesystem handler for a process.
8 #include <aros/debug.h>
10 #include "dos_intern.h"
11 #include <proto/exec.h>
13 /*****************************************************************************
16 #include <dos/dosextens.h>
17 #include <proto/dos.h>
19 AROS_LH0(struct MsgPort
*, GetFileSysTask
,
25 struct DosLibrary
*, DOSBase
, 87, Dos
)
28 Return the default filesystem handler for this process.
34 The default filesystem handler for this process.
47 *****************************************************************************/
51 struct Process
*me
= (struct Process
*)FindTask(NULL
);
52 ASSERT_VALID_PROCESS(me
);
53 return me
->pr_FileSystemTask
;
57 } /* GetFileSysTask */