• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

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.

static bool testLinkCountSupport ( const QCString &  fileName  )  [static]

Definition at line 102 of file klockfile.cpp.

KDECore

Skip menu "KDECore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal