Package apple.struct

Class flock


  • public final class flock
    extends org.moe.natj.c.StructObject
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        flock()  
      protected flock​(org.moe.natj.general.Pointer peer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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
      • Methods inherited from class org.moe.natj.general.NativeObject

        finalize, getPeer, getPeerPointer
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • flock

        public flock()
      • flock

        protected flock​(org.moe.natj.general.Pointer peer)
    • 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