Commit 38f0c169 authored by Max Kellermann's avatar Max Kellermann

system/UniqueFileDescriptor: add CreatePipeNonBlock()

parent 4fbf6b6c
...@@ -79,6 +79,11 @@ public: ...@@ -79,6 +79,11 @@ public:
return FileDescriptor::CreatePipe(r, w); 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; static bool CreatePipe(FileDescriptor &r, FileDescriptor &w) noexcept;
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment