Re: C programming: Is there an exec (with no additional letters) call?

2003-06-19 Thread Thomas Krennwallner
Hi! On Wed Jun 18, 2003 at 02:49:26PM +0200, Sebastian Kapfer wrote: On Tue, 17 Jun 2003 23:30:15 +0200, Thomas Krennwallner wrote: This code snippet will lookup the PATH environment and search for the ps executable. It will execute it and will pass ps as argv[0] and x as argv[1]. It is

Re: C programming: Is there an exec (with no additional letters) call?

2003-06-18 Thread Sebastian Kapfer
On Tue, 17 Jun 2003 23:30:15 +0200, Thomas Krennwallner wrote: This code snippet will lookup the PATH environment and search for the ps executable. It will execute it and will pass ps as argv[0] and x as argv[1]. It is equivalent to: $ ps x nitpick Don't you mean $ exec ps x /nitpick --

C programming: Is there an exec (with no additional letters) call?

2003-06-17 Thread Shaul Karl
I was told that similar to execl, execlp et al there is also an exec call. Yet when I run man exec I only get execl, execlp, execle, execv and execvp. No `pure' exec, one without any additional letters. Can I safely tell that person that he is definitely confusing the C system calls with

Re: C programming: Is there an exec (with no additional letters) call?

2003-06-17 Thread Thomas Krennwallner
Hi! On Tue Jun 17, 2003 at 10:29:25PM +0300, Shaul Karl wrote: I was told that similar to execl, execlp et al there is also an exec call. Yet when I run man exec This is exec(3) which documents the exec family calls. AFAIK there is no POSIX exec() function. Please install the

Re: C programming: Is there an exec (with no additional letters) call?

2003-06-17 Thread Nathan Poznick
Thus spake Shaul Karl: I was told that similar to execl, execlp et al there is also an exec call. Yet when I run man exec I only get execl, execlp, execle, execv and execvp. No `pure' exec, one without any additional letters. Can I safely tell that person that he is definitely

Re: C programming: Is there an exec (with no additional letters) call?

2003-06-17 Thread Pigeon
On Tue, Jun 17, 2003 at 10:29:25PM +0300, Shaul Karl wrote: I was told that similar to execl, execlp et al there is also an exec call. Yet when I run man exec I only get execl, execlp, execle, execv and execvp. No `pure' exec, one without any additional letters. Can I safely tell