Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qlockfile_unix.cpp File Reference
#include "private/qlockfile_p.h"
#include "QtCore/qtemporaryfile.h"
#include "QtCore/qfileinfo.h"
#include "QtCore/qdebug.h"
#include "QtCore/qdatetime.h"
#include "QtCore/qcache.h"
#include "QtCore/qglobalstatic.h"
#include "QtCore/qmutex.h"
#include "private/qcore_unix_p.h"
#include "private/qabstractfileengine_p.h"
#include "private/qfilesystementry_p.h"
#include "private/qtemporaryfile_p.h"
#include <sys/file.h>
#include <sys/types.h>
#include <signal.h>
#include <unistd.h>
+ Include dependency graph for qlockfile_unix.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE qint64 qt_write_loop (int fd, const char *data, qint64 len)
 
static bool setNativeLocks (int fd)
 

Function Documentation

◆ qt_write_loop()

static QT_BEGIN_NAMESPACE qint64 qt_write_loop ( int  fd,
const char *  data,
qint64  len 
)
static

Definition at line 55 of file qlockfile_unix.cpp.

References pos, qt_safe_write(), and ret.

Referenced by QLockFilePrivate::tryLock_sys().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setNativeLocks()

static bool setNativeLocks ( int  fd)
static

Definition at line 107 of file qlockfile_unix.cpp.

References Q_UNUSED.

Referenced by QLockFilePrivate::removeStaleLock(), and QLockFilePrivate::tryLock_sys().

+ Here is the caller graph for this function: