write(fd[1], buff, size_of(buff)); // fd is the pipe end, // buff is the var/file, from where we want to write