Changes for version 0.208 - 2023-09-11

  • Prerequirement Changes
    • Require SPVM::Sys 0.490.
  • Incompatibe Changes
    • The following methods are moved from the IO::File class to the IO::Handle class.
      • method sync : int (); method stat : Sys::IO::Stat (); method truncate : int ($legnth : long);
    • The sync method in the IO::Handle class is changed. If succedd, returns 1.
    • The following methods in IO::File class are changed.
      • static method new : IO::File ($file_name : string = undef, $open_mode : string = undef);
      • static method new : IO::File ($file_name : string = undef, $open_mode : object of string|Int = undef, $perm : int = 0);
      • method open : void ($file_name : string, $open_mode : string);
      • method open : int ($file_name : string, $open_mode : object of string|Int, $perm : int = 0);
    • The write method in the IO::Handle return if succedd.
    • The following methods in the IO::Socket class are changed.
      • method sockopt : int ($level : int, $optname : int);
      • method set_sockopt : int ($level : int, $optname : int, $optval : int);

Modules

File IO, Socket, Select/Polling.
File Input/Output
I/O Handling
Socket Communications
Short Description