WvStreams
Public Member Functions | List of all members
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>

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: