2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
7 #include <proto/exec.h>
14 static LONG
get_default_stack_size()
16 struct CommandLineInterface
*cli
= Cli();
17 return cli
->cli_DefaultStack
* CLI_DEFAULTSTACK_UNIT
;
20 int main(int argc
, char **argv
)
22 char *fname
= "SYS:Utilities/Clock";
24 int lastresult
= RETURN_OK
;
27 BPTR seglist
= LoadSeg(fname
);
30 SetProgramName(fname
);
31 lastresult
=RunCommand(seglist
,get_default_stack_size(),