Command line arguments

Lars Munch lars at segv.dk
Thu Oct 14 14:44:06 UTC 2004


On Thu, Oct 14, 2004 at 08:27:50AM -0400, Ed Sutter wrote:
> Lars,
> 
> > Yes, I know of the monConnect and mon_getargv calls to uMon, but my
> > problem is not getting the arguments from the boot loader. My problem is
> > to get the arguments from the bootcard function into my task.
> 
> Oh, so you're talking about some set of argument established within
> the bootcard function?

yes.

>  If that's the case, you can use mon_setenv()
> to populate a few shell variables with the arguments, then at your task
> do mon_getenv() to retrieve them.
> Does that work (or am I still confused)?

That would problably work, but I do not use uMon.

Thanks
Lars Munch



More information about the users mailing list