[EMAIL PROTECTED] wrote:
>
> Can somebody send me the source (or a link where i can find it) of how
> system() (from stdlib.h) is implemented ?
>
>
The basic use of system() is to cause a process (program) to be run
from within another, thereby creating a new process. It's most basic
useage is pretty straight forward. For instance, to run the command
"ps -ax" from another program you would write:
system("ps -ax");
of course you would use error checking, watching return values, etc.
The general syntax is:
int system(const char *command);
See the man page for details, return values, etc.
Sincerely,
/John <[EMAIL PROTECTED]>
--
email: [EMAIL PROTECTED]
Local mailserver <landreau.ruffe.edu> , remote <ns.computer.net>
Just say no, to the death penalty!