Re: [osol-code] C programming, invalid argc value

2010-11-10 Thread Pizzi Gaetano
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

Re: [osol-code] C programming, invalid argc value

2010-10-01 Thread Dan Mick
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. _

Re: [osol-code] C programming, invalid argc value

2010-10-01 Thread Joerg Schilling
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

[osol-code] C programming, invalid argc value

2010-09-30 Thread Saadia Fatima
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