Qt 4.8
Public Functions | Public Variables | List of all members
QUnixSocketRightsPrivate Struct Reference
Inheritance diagram for QUnixSocketRightsPrivate:
QSharedData

Public Functions

virtual ~QUnixSocketRightsPrivate ()
 
- Public Functions inherited from QSharedData
 QSharedData ()
 Constructs a QSharedData object with a reference count of 0. More...
 
 QSharedData (const QSharedData &)
 Constructs a QSharedData object with reference count 0. More...
 

Public Variables

int fd
 
- Public Variables inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 132 of file qunixsocket.cpp.

Constructors and Destructors

◆ ~QUnixSocketRightsPrivate()

virtual QUnixSocketRightsPrivate::~QUnixSocketRightsPrivate ( )
inlinevirtual

Definition at line 134 of file qunixsocket.cpp.

134  {
135 #ifdef QUNIXSOCKET_DEBUG
136  int closerv =
137 #endif
138  QT_CLOSE(fd);
139 #ifdef QUNIXSOCKET_DEBUG
140  if(0 != closerv) {
141  qDebug() << "QUnixSocketRightsPrivate: Unable to close managed"
142  " file descriptor (" << ::strerror(errno) << ')';
143  }
144 #endif
145  }
Q_CORE_EXPORT void qDebug(const char *,...)
int errno
#define QT_CLOSE
Definition: qcore_unix_p.h:304

Properties

◆ fd

int QUnixSocketRightsPrivate::fd

The documentation for this struct was generated from the following file: