KDECore
klockfile_unix.cpp File Reference
#include "klockfile.h"
#include <config.h>
#include <sys/types.h>
#include <signal.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#include <QtCore/QDate>
#include <QtCore/QFile>
#include <QtCore/QTextIStream>
#include "krandom.h"
#include "kglobal.h"
#include "kcomponentdata.h"
#include "ktemporaryfile.h"
#include "kde_file.h"
Include dependency graph for klockfile_unix.cpp:

Go to the source code of this file.
Defines | |
#define | FIELD_EQ(what) (st_buf1.what == st_buf2.what) |
Functions | |
static KLockFile::LockResult | deleteStaleLock (const QString &lockFile, KDE_struct_stat &st_buf, bool &linkCountSupport, const KComponentData &componentData) |
static KLockFile::LockResult | lockFile (const QString &lockFile, KDE_struct_stat &st_buf, bool &linkCountSupport, const KComponentData &componentData) |
static bool | operator!= (const KDE_struct_stat &st_buf1, const KDE_struct_stat &st_buf2) |
static bool | operator== (const KDE_struct_stat &st_buf1, const KDE_struct_stat &st_buf2) |
static bool | testLinkCountSupport (const QByteArray &fileName) |
Define Documentation
#define FIELD_EQ | ( | what | ) | (st_buf1.what == st_buf2.what) |
Function Documentation
static KLockFile::LockResult deleteStaleLock | ( | const QString & | lockFile, | |
KDE_struct_stat & | st_buf, | |||
bool & | linkCountSupport, | |||
const KComponentData & | componentData | |||
) | [static] |
Definition at line 188 of file klockfile_unix.cpp.
static KLockFile::LockResult lockFile | ( | const QString & | lockFile, | |
KDE_struct_stat & | st_buf, | |||
bool & | linkCountSupport, | |||
const KComponentData & | componentData | |||
) | [static] |
Definition at line 128 of file klockfile_unix.cpp.
static bool operator!= | ( | const KDE_struct_stat & | st_buf1, | |
const KDE_struct_stat & | st_buf2 | |||
) | [static] |
Definition at line 110 of file klockfile_unix.cpp.
static bool operator== | ( | const KDE_struct_stat & | st_buf1, | |
const KDE_struct_stat & | st_buf2 | |||
) | [static] |
Definition at line 101 of file klockfile_unix.cpp.
static bool testLinkCountSupport | ( | const QByteArray & | fileName | ) | [static] |
Definition at line 116 of file klockfile_unix.cpp.