• dearblue's avatar
    Implement `IO#pread` and `IO#pwrite` · 4c6d524c
    dearblue authored
    It is available by default in environments where `__unix__` is defined.
    Other environments are enabled by defining `MRB_WITH_IO_PREAD_PWRITE`
    (requires an implementation of `pread()` and `pwrite()` functions).
    
    In any case, you can disable it by defining
    `MRB_WITHOUT_IO_PREAD_PWRITE`.
    4c6d524c
io.rb 15 KB