linux的system函数 下面为system函数的一种实现:#include #include #include int system(const char *cmdstring){ pid_t pid; int status; if(cmdstring == NULL) //system接受命令为空时直接返回 APUE 2023-12-02 200 点赞 3 评论 303 浏览