#include
#include
#include
int main ()
Copyright By PowCoder代写 加微信 powcoder
pid_t pid;
switch (pid = fork ())
perror (“fork error”);
execl (“/bin/ls”, “ls”, “-l”, (char *) 0);
perror (“exec error”);
wait ((int *) 0);
printf (“program ls finished\n”);
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com