From 38f0c169048f08823e6138d91b4569a928de6faa Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 27 Feb 2019 23:30:56 +0100 Subject: [PATCH] system/UniqueFileDescriptor: add CreatePipeNonBlock() --- src/system/UniqueFileDescriptor.hxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/system/UniqueFileDescriptor.hxx b/src/system/UniqueFileDescriptor.hxx index b8da92932..ff1a72719 100644 --- a/src/system/UniqueFileDescriptor.hxx +++ b/src/system/UniqueFileDescriptor.hxx @@ -79,6 +79,11 @@ public: return FileDescriptor::CreatePipe(r, w); } + static bool CreatePipeNonBlock(UniqueFileDescriptor &r, + UniqueFileDescriptor &w) noexcept { + return FileDescriptor::CreatePipeNonBlock(r, w); + } + static bool CreatePipe(FileDescriptor &r, FileDescriptor &w) noexcept; #endif