io: add dup instance method to fd
This commit is contained in:
parent
1b118ff377
commit
798d3aac5a
8
io.cpp
8
io.cpp
@ -166,6 +166,14 @@ fd::~fd () {
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
fd
|
||||
fd::dup (void) const
|
||||
{
|
||||
return dup (m_fd);
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
fd
|
||||
fd::dup (int _fd)
|
||||
|
Loading…
Reference in New Issue
Block a user