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

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"

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 190 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.

KDECore

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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