KDECore
klockfile.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 <qfile.h>
#include <qtextstream.h>
#include <kde_file.h>
#include <kapplication.h>
#include <kcmdlineargs.h>
#include <kglobal.h>
#include <ktempfile.h>
Include dependency graph for klockfile.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) |
static KLockFile::LockResult | lockFile (const QString &lockFile, KDE_struct_stat &st_buf, bool &linkCountSupport) |
static bool | statResultIsEqual (KDE_struct_stat &st_buf1, KDE_struct_stat &st_buf2) |
static bool | testLinkCountSupport (const QCString &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 | |||
) | [static] |
Definition at line 174 of file klockfile.cpp.
static KLockFile::LockResult lockFile | ( | const QString & | lockFile, | |
KDE_struct_stat & | st_buf, | |||
bool & | linkCountSupport | |||
) | [static] |
Definition at line 112 of file klockfile.cpp.
static bool statResultIsEqual | ( | KDE_struct_stat & | st_buf1, | |
KDE_struct_stat & | st_buf2 | |||
) | [static] |
Definition at line 94 of file klockfile.cpp.
Definition at line 102 of file klockfile.cpp.