wibble
0.1.28
Main Page
Namespaces
Classes
Files
File List
File Members
wibble
sys
filelock.h
Go to the documentation of this file.
1
#ifndef WIBBLE_SYS_FILELOCK_H
2
#define WIBBLE_SYS_FILELOCK_H
3
4
#include <fcntl.h>
5
6
namespace
wibble {
7
namespace
sys {
8
namespace
fs {
9
15
struct
FileLock
16
{
17
int
fd
;
18
struct
flock
lock
;
19
30
FileLock
(
int
fd
,
short
l_type,
short
l_whence=SEEK_SET, off_t l_start=0, off_t l_len=0);
31
35
~FileLock
();
36
37
private
:
38
// Disallow copying
39
FileLock
(
const
FileLock
&);
40
FileLock
& operator=(
const
FileLock
&);
41
};
42
43
}
44
}
45
}
46
47
// vim:set ts=4 sw=4:
48
#endif
Generated on Wed Mar 12 2014 06:05:52 for wibble by
1.8.1.2