lib/rubyserial/linux_constants.rb in rubyserial-0.4.0 vs lib/rubyserial/linux_constants.rb in rubyserial-0.5.0

- old
+ new

@@ -209,14 +209,14 @@ :cc_c, [ :uchar, NCCS ], :c_ispeed, :uint, :c_ospeed, :uint end - attach_function :ioctl, [ :int, :ulong, RubySerial::Posix::Termios], :int - attach_function :tcsetattr, [ :int, :int, RubySerial::Posix::Termios ], :int - attach_function :fcntl, [:int, :int, :varargs], :int - attach_function :open, [:pointer, :int], :int - attach_function :close, [:int], :int - attach_function :write, [:int, :pointer, :int],:int - attach_function :read, [:int, :pointer, :int],:int + attach_function :ioctl, [ :int, :ulong, RubySerial::Posix::Termios], :int, blocking: true + attach_function :tcsetattr, [ :int, :int, RubySerial::Posix::Termios ], :int, blocking: true + attach_function :fcntl, [:int, :int, :varargs], :int, blocking: true + attach_function :open, [:pointer, :int], :int, blocking: true + attach_function :close, [:int], :int, blocking: true + attach_function :write, [:int, :pointer, :int],:int, blocking: true + attach_function :read, [:int, :pointer, :int],:int, blocking: true end end