delete priv;
}
+Handle::operator const void *() const
+{
+ return priv->handle!=INVALID_HANDLE_VALUE ? this : 0;
+}
+
Handle::Private::Private():
handle(INVALID_HANDLE_VALUE)
namespace Msp {
namespace IO {
-Handle::operator const void *() const
-{
- return priv->handle!=-1 ? this : 0;
-}
-
-
void sys_set_blocking(Handle &handle, bool b)
{
int flags = fcntl(*handle, F_GETFD);
namespace Msp {
namespace IO {
-Handle::operator const void *() const
-{
- return priv->handle!=INVALID_HANDLE_VALUE ? this : 0;
-}
-
-
void sys_set_blocking(Handle &, bool)
{
}