system()

  1. android system() source code put in
    bionic/libc/unistd/system.c
  2. #include <>
    int main(int argc, char *argv[])
    {
    system("ls -l");
    system("ls");
    }

  3. exec.c include execl().... in the same folder.

留言