Executing shell commands in VxWorks 6.9 RTP application -
how can execute shell commands dump memory (d())
, xbdcreatepartition
, dosfsvolformat
, dosfsshow
rtp application program? linux provides system commands job, how achieved in vxworks6.9?
if looking equivalent of system()
, allow execute arbitrary command, out of luck.
however, "shell" used interacting c interpreter, , command running available called code. call dosfsvolformat
example own code.
there caveat here, functionality implemented in kernel, , these functions may not available in rtp. functions available vary release release, , may dependant on kernel configuration. can compare user versions of headers kernel version see might available.
you can write own system calls, however, expose kernel functionality rtp application.
Comments
Post a Comment