execlp

xinyou yan yxy.716 at gmail.com
Wed Mar 16 10:43:43 UTC 2011


2011/3/16 Cameron Simpson <cs at zip.com.au>:
> 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.

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?

So i want  the program like  execlp .
Not like a menu .

>
> |  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
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>


More information about the users mailing list