execlp

Cameron Simpson cs at zip.com.au
Wed Mar 16 10:31:02 UTC 2011


On 16Mar2011 18:04, xinyou yan <yxy.716 at gmail.com> 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 .

WHen you say "functions", do you mean C functions in your own program,
or something else?
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

It is seldom that liberty of any kind is lost all at once.      - Hume


More information about the users mailing list