#define _GNU_SOURCE #include #include #include #include "pipe_utils.h" void allocation_primitive(int fd[2]) { pipe2(fd, O_NONBLOCK); fcntl(fd[0], F_SETPIPE_SZ, 8192); char buffer[0x100] = { 0 }; write(fd[1], buffer, 8); }