> correct, the call should be: > execv( argv[1], argv[2] ); > For the fanatically correct, this might be better: > execv( argv[1], argv + sizeof( argv[1] ) );
Could you explain this? Why would this line be *more* correct than the
precedent?
Moreover, argv + sizeof (argv[1]) is equal to argv[4] (as sizeof (char*) = 4)
...
Perceval.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

