APIdock / Ruby
/
Browse About
method

nonblock?

v1_9_1_378 - Show latest stable - Class: IO
nonblock?()
public

No documentation available.

# File ext/io/wait/lib/nonblock.rb, line 3
  def nonblock?
    (fcntl(Fcntl::F_GETFL) & File::NONBLOCK) != 0
  end

Related methods

  • Instance methods
  • <<
  • binmode
  • binmode?
  • bytes
  • chars
  • close
  • close_on_exec=
  • close_on_exec?
  • close_read
  • close_write
  • closed?
  • each
  • each_byte
  • each_char
  • each_line
  • eof
  • eof?
  • expect
  • external_encoding
  • fcntl
  • fileno
  • flush
  • fsync
  • getbyte
  • getc
  • gets
  • initialize_copy
  • inspect
  • internal_encoding
  • ioctl
  • isatty
  • lineno
  • lineno=
  • lines
  • nonblock
  • nonblock=
  • nonblock?
  • pid
  • pos
  • pos=
  • print
  • printf
  • putc
  • puts
  • read
  • read_nonblock
  • readbyte
  • readchar
  • readline
  • readlines
  • readpartial
  • ready?
  • reopen
  • rewind
  • scanf
  • seek
  • set_encoding
  • stat
  • sync
  • sync=
  • sysread
  • sysseek
  • syswrite
  • tell
  • to_i
  • to_io
  • tty?
  • ungetbyte
  • ungetc
  • wait
  • write
  • write_nonblock
  • Class methods
  • binread
  • copy_stream
  • for_fd
  • foreach
  • new
  • open
  • pipe
  • popen
  • read
  • readlines
  • select
  • sysopen
  • try_convert
  • Private methods
  • privateblock_scanf
  • privatesoak_up_spaces
APIdock API Documentation Browser

© 2026 APIdock