WvStreams
Public Member Functions
WvLockDev Class Reference

Class to handle Lock files - useful for WvDial and other places where we need to guarantee exclusive access to a file or device. More...

#include <wvlockdev.h>

List of all members.

Public Member Functions

 WvLockDev (WvString _devicename)
bool lock ()
void unlock ()
bool islocked () const

Detailed Description

Class to handle Lock files - useful for WvDial and other places where we need to guarantee exclusive access to a file or device.

Creates/Removes lockfiles in /var/lock.

Definition at line 17 of file wvlockdev.h.


The documentation for this class was generated from the following files: