system/UniqueFileDescriptor: expose CheckDuplicate()

This commit is contained in:
Max Kellermann 2017-09-13 17:40:33 +02:00
parent aadc735d71
commit 66e74900df

View File

@ -100,6 +100,7 @@ public:
using FileDescriptor::EnableCloseOnExec;
using FileDescriptor::DisableCloseOnExec;
using FileDescriptor::Duplicate;
using FileDescriptor::CheckDuplicate;
static bool CreatePipe(FileDescriptor &r, FileDescriptor &w);
#endif