When you well know, argv is an array of arguments, files to open, for the exec
function, unless the exadecimal value you wrote, is a path of a file to open,
it' isn't a valid argument, argc is an index in the argv value, now i don't
know what you are really writing, but i believe that an argv a
On 09/30/10 07:17 PM, Saadia Fatima wrote:
Hi,
Invalid argc value is passed to main, when I run the program with no cmmand
line arguments
main(argc = 134551360, argv=0x8047b2a) // from gdb
How to fix this??
-Thanks
SF
Not with zero details, no.
_
Saadia Fatima wrote:
> Invalid argc value is passed to main, when I run the program with no cmmand
> line arguments
>
> main(argc = 134551360, argv=0x8047b2a) // from gdb
>
> How to fix this??
Could you verify this with a valid debugger like mdb?
Jörg
--
EMail:jo...@schily.isdn.cs.tu-berli
Hi,
Invalid argc value is passed to main, when I run the program with no cmmand
line arguments
main(argc = 134551360, argv=0x8047b2a) // from gdb
How to fix this??
-Thanks
SF
--
This message posted from opensolaris.org
___
opensolaris-code mailing