Package android.system
Class StructFlock
- java.lang.Object
-
- android.system.StructFlock
-
-
Field Summary
Fields Modifier and Type Field Description longl_lenByte count to operate on.intl_pidProcess blocking our lock (filled in by F_GETLK, otherwise unused).longl_startStart offset.shortl_typeThe operation type, one of F_RDLCK, F_WRLCK, or F_UNLCK.shortl_whenceHow to interpret l_start, one of SEEK_CUR, SEEK_END, SEEK_SET.
-
Constructor Summary
Constructors Constructor Description StructFlock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()Returns a string containing a concise, human-readable description of this object.
-
-
-
Field Detail
-
l_type
public short l_type
The operation type, one of F_RDLCK, F_WRLCK, or F_UNLCK.
-
l_whence
public short l_whence
How to interpret l_start, one of SEEK_CUR, SEEK_END, SEEK_SET.
-
l_start
public long l_start
Start offset.
-
l_len
public long l_len
Byte count to operate on.
-
l_pid
public int l_pid
Process blocking our lock (filled in by F_GETLK, otherwise unused).
-
-
Method Detail
-
toString
public String toString()
Description copied from class:ObjectReturns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod.
-
-