2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 #include <proto/exec.h>
9 #include "dos_intern.h"
11 /*****************************************************************************
14 #include <proto/dos.h>
16 AROS_LH0(STRPTR
, GetArgStr
,
21 struct DosLibrary
*, DOSBase
, 89, Dos
)
24 Returns a pointer to the argument string passed to the current
30 Pointer to argument string.
42 *****************************************************************************/
45 AROS_LIBBASE_EXT_DECL(struct DosLibrary
*,DOSBase
)
47 /* Get pointer to process structure */
48 struct Process
*me
=(struct Process
*)FindTask(NULL
);
50 /* Nothing spectacular */
51 return me
->pr_Arguments
;