Subversion Repositories public

Rev

Rev 37 | Rev 41 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37 Rev 39
Line 741... Line 741...
741
  /**
741
  /**
742
   * Use this mode if you want to monitor the descriptor
742
   * Use this mode if you want to monitor the descriptor
743
   * (acquired thru GetDescriptor()) in functions such as
743
   * (acquired thru GetDescriptor()) in functions such as
744
   * poll(), select() etc.
744
   * poll(), select() etc.
745
   *
745
   *
-
 
746
   * Non-blocking mode is disabled by default.
-
 
747
   *
746
   * \param[in] fNonBlock enable/disable non-blocking mode
748
   * \param[in] fNonBlock enable/disable non-blocking mode
747
   *
749
   *
748
   * \throw InotifyException thrown if setting mode failed
750
   * \throw InotifyException thrown if setting mode failed
749
   *
751
   *
750
   * \sa GetDescriptor()
752
   * \sa GetDescriptor(), SetCloseOnExec()
751
   */
753
   */
752
  void SetNonBlock(bool fNonBlock) throw (InotifyException);
754
  void SetNonBlock(bool fNonBlock) throw (InotifyException);
753
 
755
 
-
 
756
  /// Enables/disables closing on exec.
-
 
757
  /**
-
 
758
   * Enable this if you want to close the descriptor when
-
 
759
   * executing another program. Otherwise, the descriptor
-
 
760
   * will be inherited.
-
 
761
   *
-
 
762
   * Closing on exec is disabled by default.
-
 
763
   *
-
 
764
   * \param[in] fClOnEx enable/disable closing on exec
-
 
765
   *
-
 
766
   * \throw InotifyException thrown if setting failed
-
 
767
   *
-
 
768
   * \sa GetDescriptor(), SetNonBlock()
-
 
769
   */
-
 
770
  void SetCloseOnExec(bool fClOnEx) throw (InotifyException);
-
 
771
 
754
  /// Acquires a particular inotify capability/limit.
772
  /// Acquires a particular inotify capability/limit.
755
  /**
773
  /**
756
   * \param[in] cap capability/limit identifier
774
   * \param[in] cap capability/limit identifier
757
   * \return capability/limit value
775
   * \return capability/limit value
758
   * \throw InotifyException thrown if the given value cannot be acquired
776
   * \throw InotifyException thrown if the given value cannot be acquired