public final class flock
extends org.moe.natj.c.StructObject
| Modifier | Constructor and Description |
|---|---|
|
flock() |
protected |
flock(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
long |
l_len()
len = 0 means until end of file
|
int |
l_pid()
lock owner
|
long |
l_start()
starting offset
|
short |
l_type()
lock type: read/write, etc.
|
short |
l_whence()
type of l_start
|
void |
setL_len(long value)
len = 0 means until end of file
|
void |
setL_pid(int value)
lock owner
|
void |
setL_start(long value)
starting offset
|
void |
setL_type(short value)
lock type: read/write, etc.
|
void |
setL_whence(short value)
type of l_start
|
public long l_start()
public void setL_start(long value)
public long l_len()
public void setL_len(long value)
public int l_pid()
public void setL_pid(int value)
public short l_type()
public void setL_type(short value)
public short l_whence()
public void setL_whence(short value)