I need to find a process argument list in code. I can’t seem to locate it in
the _psinfo structure. Does anyone know how “sin ar” works?
The source to pidin is at
http://cvs.qnx.com/cgi-bin/cvsweb.cgi/utils/p/pidin/ If you need the source
to sin, perhaps the nice people at cvs@qnx.com can be persuaded to put it in
the public CVS repository too ![]()
dB
“Phil Wilson” <wilson@cwnet.com> wrote in message
news:agajm6$2e0$1@inn.qnx.com…
I need to find a process argument list in code. I can’t seem to locate it
in
the _psinfo structure. Does anyone know how “sin ar” works?
\
Phil Wilson <wilson@cwnet.com> wrote:
: I need to find a process argument list in code. I can’t seem to locate it in
: the _psinfo structure. Does anyone know how “sin ar” works?
The _argv global variable points to the vector of arguments passed to main().
It isn’t defined in any header file, so you have to add your own extern
statement: