Re: Syscall problem ?



In article <1130776726.932904.146890@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
yezi <ye_line@xxxxxxxxxxx> wrote:
>I code a program by c called "inter". I have another program called
>"end"

>Can I code in "end " to use the syscall ( "inter") ?

>If Yes , which kind of command format should I write?

I suggest you examine the documentation for the system() routine.
Pretty much all the standard says is that this will invoke
system-defined behaviour. -Usually- the string you pass into
system() is a command line that will be parsed by -something-
and the appropriate program started up.

Note: if "inter" really is a "syscall" (system call) then the
mechanisms you will need to invoke it would be operating system
dependant. Most operating systems make it difficult to add
your own system calls.
--
I am spammed, therefore I am.
.