Changes for version 0.06 - 2022-09-27

  • Test Fix
    • Fix the test of the setpriority method in the Sys::Process class.
    • Fix the test of the times method in the Sys::Process class.
  • New Features
    • Add the getaddrinfo_raw to the Sys::Socket class. This is the same as original the getaddrinfo method.
    • Add the getnameinfo_raw to the Sys::Socket class. This is the same as original the getnameinfo method.
    • Add the following methods to the Sys::Socket class.
      • static method socket_errno : int (); static method socket_strerror : string ($errno : int, $length : int);
  • Prerequirement Changes
    • SPVM::Sys needs SPVM 0.9653+.
  • Incompatible Changes
    • The getaddrinfo method in the Sys::Socket class gets to throw an exception.
    • The getnameinfo method in the Sys::Socket class gets to throw an exception.
    • Rename the follwing methods in the Sys::Socket class.
      • Before
        • static method ioctl_int_portable : int ($fd : int, $request : int, $request_arg_ref : int*); static method poll_portable : int ($fds : Sys::IO::PollfdArray, $nfds : int, $timeout : int); static method close_portable : int ($fd : int);
      • After
        • static method ioctl_int : int ($fd : int, $request : int, $request_arg_ref : int*); static method poll : int ($fds : Sys::IO::PollfdArray, $nfds : int, $timeout : int); static method close : int ($fd : int);

Documentation

get, unpack build and install modules from CPAN

Modules

System Calls such as File IO, User, Process, Socket,
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
Array of struct pollfd in C language
struct stat in C language
struct utimbuf in C language
Process System Call
Sys::Process::Constant is a SPVM module
Sys::Process::Tms is a SPVM module
Socket System Call
struct addrinfo in C language
Socket Constant Values
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
Sys::Socket::Sockaddr is a SPVM module
struct sockaddr_in in C language
struct sockaddr_in6 in C language
struct sockaddr_storage in C language
struct sockaddr_un in C language
User System Call
Entry of Group Database
Entry of Password Database