2 #include <proto/exec.h>
9 static LONG
get_default_stack_size()
11 struct CommandLineInterface
*cli
= Cli();
12 return cli
->cli_DefaultStack
* CLI_DEFAULTSTACK_UNIT
;
15 int main(int argc
, char **argv
)
17 char *fname
= "SYS:Utilities/Clock";
19 int lastresult
= RETURN_OK
;
22 BPTR seglist
= LoadSeg(fname
);
25 SetProgramName(fname
);
26 lastresult
=RunCommand(seglist
,get_default_stack_size(),