Added a test for MUIA_Listview_SelectChange.
[AROS.git] / rom / dos / getargstr.c
blobe67ceef8a637113a89419fc52c9ef11f18dba23c
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
8 #include <aros/debug.h>
10 #include <proto/exec.h>
11 #include "dos_intern.h"
13 /*****************************************************************************
15 NAME */
16 #include <proto/dos.h>
18 AROS_LH0(STRPTR, GetArgStr,
20 /* SYNOPSIS */
22 /* LOCATION */
23 struct DosLibrary *, DOSBase, 89, Dos)
25 /* FUNCTION
26 Returns a pointer to the argument string passed to the current
27 process at startup.
29 INPUTS
31 RESULT
32 Pointer to argument string.
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
41 SetArgStr(), RunCommand()
43 INTERNALS
45 *****************************************************************************/
47 AROS_LIBFUNC_INIT
49 /* Get pointer to process structure */
50 struct Process *me=(struct Process *)FindTask(NULL);
52 ASSERT_VALID_PROCESS(me);
54 /* Nothing spectacular */
55 return me->pr_Arguments;
56 AROS_LIBFUNC_EXIT
57 } /* GetArgStr */