1 /* Copyright 2016-present Facebook, Inc. 2 * Licensed under the Apache License, Version 2.0 */ 3 #pragma once 4 #include "FileDescriptor.h" 5 6 namespace watchman { 7 8 // Convenience for constructing a Pipe 9 class Pipe { 10 public: 11 FileDescriptor read; 12 FileDescriptor write; 13 14 // Construct a pipe, setting the close-on-exec and 15 // non-blocking bits. 16 Pipe(); 17 }; 18 } 19