Changes for version 0.491 - 2023-09-13

  • New Features
    • The following methods in the Sys class are added.
      • static method say : int ($stream : Sys::IO::FileStream, $string : string);
      • static method STDIN : Sys::IO::FileStream ();
      • static method STDOUT : Sys::IO::FileStream ();
      • static method STDERR : Sys::IO::FileStream ();
      • static method signal : void ($signum : int, $handler_name : string);
      • static method kill : int ($sig : int, $pid : int);
  • Incompatible Changes
    • The Sys::Signal::Handler::Monitor class is removed.
    • The Sys::Signal::Handler::Unknown class is removed.
    • The following methods in the Sys::Signal class are removed.
      • static method reset_monitored_signal : void ($signum : int);
      • static method check_monitored_signal : int ($signum : int);
    • The following methods in the Sys::Signal class are changed.
      • native static method signal : Sys::Signal::Handler ($signum : int, $handler : Sys::Signal::Handler);
      • native static method signal : void ($signum : int, $handler : Sys::Signal::Handler);
      • $handler must be a Sys::Signal::Handler::Default object or a Sys::Signal::Handler::Ignore object. Otherwise an exception is thrown.
      • User signal handlers are wrong implementation for SPVM differnt from the C language.

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