[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] Command line arguments



>>>>> "Phil" == Phil Daly <pnd@noao.edu> writes:

 Phil> I am trying to pass command line arguments into a module
 Phil> (doesn't have to be a real time module, of course). I can get
 Phil> around the well-known problem of not being able to pass numeric
 Phil> values by hiding them in strings. The question is how to
 Phil> convert them back after - atoi does not work in the module.

Why wouldn't atoi work?  It's just procedural code.  Maybe you have to 
tell the linker to link it into your module...

	paul
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/