Package apple.struct
Class flock
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.c.StructObject
-
- apple.struct.flock
-
public final class flock extends org.moe.natj.c.StructObject
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longl_len()len = 0 means until end of fileintl_pid()lock ownerlongl_start()starting offsetshortl_type()lock type: read/write, etc.shortl_whence()type of l_startvoidsetL_len(long value)len = 0 means until end of filevoidsetL_pid(int value)lock ownervoidsetL_start(long value)starting offsetvoidsetL_type(short value)lock type: read/write, etc.voidsetL_whence(short value)type of l_start
-
-
-
Method Detail
-
l_start
public long l_start()
starting offset
-
setL_start
public void setL_start(long value)
starting offset
-
l_len
public long l_len()
len = 0 means until end of file
-
setL_len
public void setL_len(long value)
len = 0 means until end of file
-
l_pid
public int l_pid()
lock owner
-
setL_pid
public void setL_pid(int value)
lock owner
-
l_type
public short l_type()
lock type: read/write, etc.
-
setL_type
public void setL_type(short value)
lock type: read/write, etc.
-
l_whence
public short l_whence()
type of l_start
-
setL_whence
public void setL_whence(short value)
type of l_start
-
-