Re: execlp

2011-03-16 Thread Jerry Feldman
On 03/16/2011 06:43 AM, xinyou yan wrote: > Yes it is a function defined in the program. > I will show something like a shell. > It wait user to do what they want to . . What they can do , come from > the function I define? execlp(3) is a Linux library function that can be called only from an e

Re: execlp

2011-03-16 Thread xinyou yan
2011/3/16 Cameron Simpson : > On 16Mar2011 18:04, xinyou yan wrote: > |  Can execlp   exec  the function defined by myself? > > If your function is in an executable file, sure. Yes it is a function defined in the program. I will show something like a shell. It wait user to do what they want t

Re: execlp

2011-03-16 Thread Cameron Simpson
On 16Mar2011 18:04, xinyou yan wrote: | Can execlp exec the function defined by myself? If your function is in an executable file, sure. | If not . how can i exec the functions whose name I want get from stdin? | I just want to call the functions by input .not call them directly . WH