Command line arguments

Ed Sutter esutter at lucent.com
Thu Oct 14 12:27:50 UTC 2004


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?  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)?

Ed



More information about the users mailing list