// Create the pipes
if( pipe( &pipe1, &pipe2 ) != 0 )
{
ConPrintf("pipe create failed\n");
goto leave;
}
运行之后返回值为-1,创建失败。用的CCS3.3
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.