system/UniqueFileDescriptor: add CreatePipeNonBlock()

This commit is contained in:
Max Kellermann 2019-02-27 23:30:56 +01:00
parent 4fbf6b6c95
commit 38f0c16904
1 changed files with 5 additions and 0 deletions

View File

@ -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