File:pipe.c - ikarishinjieva/unixV6-code-analyze-chs GitHub Wiki

Source

7700 #include "../param.h"

7701 #include "../systm.h"

7702 #include "../user.h"

7703 #include "../inode.h"

7704 #include "../file.h"

7705 #include "../reg.h"

7706

7707 /* Max allowable buffering per pipe.

7708  * This is also the max size of the

7709  * file created to implement the pipe.

7710  * If this size is bigger than 4096,

7711  * pipes will be implemented in LARGe

7712  * files, which is probably not good.

7713  */

7714

7715 #define PIPSIZ 4096

⚠️ **GitHub.com Fallback** ⚠️