On 29 November 2007 00:12, J.C. Pizarro wrote:

> The more weird thing was "..." in middle of the C's stack from
> int execle(const char *path, const char *arg, ..., char * const envp[]);
> extracted from "man execle".

http://www.opengroup.org/onlinepubs/000095399/functions/exec.html

 int execle(const char *path, const char *arg0, ... /*,
       (char *)0, char *const envp[]*/);

  Note the comment markers.  The last two 'arguments' are not real args, it is
just a comment to tell you what the last two parameters in the varargs list
should be equal to.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

Reply via email to