2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
8 #include <aros/debug.h>
10 #include <proto/exec.h>
11 #include "dos_intern.h"
13 /*****************************************************************************
16 #include <proto/dos.h>
18 AROS_LH0(STRPTR
, GetArgStr
,
23 struct DosLibrary
*, DOSBase
, 89, Dos
)
26 Returns a pointer to the argument string passed to the current
32 Pointer to argument string.
44 *****************************************************************************/
48 /* Get pointer to process structure */
49 struct Process
*me
=(struct Process
*)FindTask(NULL
);
51 ASSERT_VALID_PROCESS(me
);
53 /* Nothing spectacular */
54 return me
->pr_Arguments
;