summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-02-27 23:30:56 +0100
committerMax Kellermann <max@musicpd.org>2019-02-27 23:30:56 +0100
commit38f0c169048f08823e6138d91b4569a928de6faa (patch)
tree5f3ab77014598fccc146c864a45955c270cf3a0a /src
parent4fbf6b6c95e5e47fb6e2c3fbe8e170d02204d04e (diff)
system/UniqueFileDescriptor: add CreatePipeNonBlock()
Diffstat (limited to 'src')
-rw-r--r--src/system/UniqueFileDescriptor.hxx5
1 files changed, 5 insertions, 0 deletions
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