Program hangs when opening a named pipe for writing in c - use of wait

前端 未结 0 964
甜味超标
甜味超标 2020-12-12 08:02

This is the main in test1.c:

int main(int argc, char *argv[])
{
  int fd1,i, *foo;

  pid_t childpid;
  mkfifo("myfifo1", 0777);
  foo = malloc(10*s         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题