关于execlp的问题
execlp(buf,buf,(char*)0);
//其中char buf[MAXLINE];从stdin读入,
我不理界第二个buf,我觉得应该不需要啊
读入date,即char buf[MAXLINE] = {'d','a','t','e'};
它没有参数,为什么在execlp的第二位设置呢?
//其中char buf[MAXLINE];从stdin读入,
我不理界第二个buf,我觉得应该不需要啊
读入date,即char buf[MAXLINE] = {'d','a','t','e'};
它没有参数,为什么在execlp的第二位设置呢?
...全文


