Changes for version 0.493 - 2023-10-02

  • Requirement Changes
    • Require SPVM 0.989047.
  • Internal Changes
    • Use new native APIs.
  • Exception Message Changes
    • Improve English of exception messages.
  • Document Changes
    • Improve the formats of documents.
  • New Features
    • Add the spvm_stdin method to the Sys::IO class.
    • Add the spvm_stdout method to the Sys::IO class.
    • Add the spvm_stderr method to the Sys::IO class.
  • Incompatible Changes
    • The STDIN method in the Sys class retruns the return value of the spvm_stdin method in the Sys::IO class.
    • The STDOUT method in the Sys class retruns the return value of the spvm_stdout method in the Sys::IO class.
    • The STDERR method in the Sys class retruns the return value of the spvm_stderr method in the Sys::IO class.
    • The no_need_free field in the Sys::IO::FileStream class is renamed to no_close.
    • The fdopen method in the Sys::IO throws an exception.
      • $fd must be greater than or equal to 0. Otherwise an exception is thrown.
  • Bug Fix
    • Fix the test bug that tests of Sys::IO on Windows does not work well.

Modules

System Calls for File IO, User, Process, Signal, Socket
Environemnt Variable
File Tests
IO System Call
Constant values for IO.
the class for the DIR type in C language.
struct dirent in C language
the class for the FILE type in C language.
struct flock in C language
The stat Functions and The struct stat in C language
struct utimbuf in C language
IO System Call on Windows
ioctl System Call
Constant values for ioctl.
System Calls for OS
Poll System Call
Constant values for Poll.
Array of struct pollfd in C language
Process System Call
Constant Values for Process
Select System Call
Constant values for Select.
fd_set Type in C Language
Signal System Call
Sys::Signal::Constant is a SPVM module
Sys::Signal::Handler is a SPVM module
Signal Handler that Represents SIG_DFL in C language.
Signal Handler that Represents SIG_IGN in C language
Socket System Call
struct addrinfo in C language
Sys::Socket::AddrinfoLinkedList is a SPVM module
Socket Constant Values
The address is not a valid network address.
struct in6_addr in C language
struct in_addr in C language
struct ip_mreq in C language
struct ip_mreq_source in C language
struct ipv6_mreq in C language
struct sockaddr in C language
struct sockaddr_in in C language
struct sockaddr_in6 in C language
struct sockaddr_storage in C language
struct sockaddr_un in C language
Socket Utilities
System Calls for Time Manipulation
Constant Values for Time
struct timeval in C language
struct timespec in C language
struct timeval in C language
struct timezone in C language
struct tm in C language
struct tms in C language
User System Call
Entry of Group Database
Entry of Password Database