module IO::Syscall

Direct including types

Defined in:

io/syscall.cr

Instance Method Summary

Instance Method Detail

def read_syscall_helper(slice : Bytes, errno_msg : String, &block) : Int32 #

[View source]
def read_timeout : Time::Span? #

Returns the time to wait when reading before raising an IO::Timeout.


[View source]
def read_timeout=(read_timeout : Number) : Number #

Sets the number of seconds to wait when reading before raising an IO::Timeout.


[View source]
def read_timeout=(timeout : Time::Span?) : Time::Span? #

Sets the time to wait when reading before raising an IO::Timeout.


[View source]
def write_syscall_helper(slice : Bytes, errno_msg : String, &block) : Nil #

[View source]
def write_timeout : Time::Span? #

Returns the time to wait when writing before raising an IO::Timeout.


[View source]
def write_timeout=(write_timeout : Number) : Number #

Sets the number of seconds to wait when writing before raising an IO::Timeout.


[View source]
def write_timeout=(timeout : Time::Span?) : Time::Span? #

Sets the time to wait when writing before raising an IO::Timeout.


[View source]