| Modifier and Type | Field and Description |
|---|---|
long |
l_len
Byte count to operate on.
|
int |
l_pid
Process blocking our lock (filled in by F_GETLK, otherwise unused).
|
long |
l_start
Start offset.
|
short |
l_type
The operation type, one of F_RDLCK, F_WRLCK, or F_UNLCK.
|
short |
l_whence
How to interpret l_start, one of SEEK_CUR, SEEK_END, SEEK_SET.
|
| Constructor and Description |
|---|
StructFlock() |
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns a string containing a concise, human-readable description of this
object.
|
public short l_type
public short l_whence
public long l_start
public long l_len
public int l_pid
public String toString()
ObjectgetClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString method
if you intend implementing your own toString method.