diff options
Diffstat (limited to 'src/system/FileDescriptor.hxx')
-rw-r--r-- | src/system/FileDescriptor.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/system/FileDescriptor.hxx b/src/system/FileDescriptor.hxx index b4294c246..849cde5ec 100644 --- a/src/system/FileDescriptor.hxx +++ b/src/system/FileDescriptor.hxx @@ -129,6 +129,11 @@ public: bool OpenNonBlocking(const char *pathname) noexcept; #endif +#ifdef __linux__ + static bool CreatePipe(FileDescriptor &r, FileDescriptor &w, + int flags) noexcept; +#endif + static bool CreatePipe(FileDescriptor &r, FileDescriptor &w) noexcept; #ifdef _WIN32 |