Changes for version 0.10 - 2022-10-14

  • New Features
    • Added the Sys::Time::Timeval class.
    • Added the Sys::Time::Timezone class.
    • Added the following methods to the Sys::Process class.
      • static method usleep : int ($usec : int) static method ualarm : long ($usecs : long, $interval : long)
    • Added the following methods to the Sys::Time class.
      • static method gettimeofday ($tv : Sys::Time::Timeval, $tz : Sys::Time::Timezone) static method clock : long () static method clock_gettime : int ($clk_id : int, $tp : Sys::Time::Timespec) static method clock_getres : int ($clk_id : int, $res : Sys::Time::Timespec) static method getitimer : int ($which : int, $curr_value : Sys::Time::Itimerval); static method setitimer : int ($which : int, $new_value : Sys::Time::Itimerval, $old_value : Sys::Time::Itimerval); static method clock_nanosleep : int ($clockid : int, $flags : int, $request : Sys::Time::Timespec, $remain : Sys::Time::Timespec) static method nanosleep : int ($rqtp : Sys::Time::Timespec, $rmtp : Sys::Time::Timespec)
    • Added the Sys::Time::Timespec class.
    • Added the Sys::Time::Itimerval class.
    • Added the following methods to the Sys::IO::Stat class
      • method st_mtim_tv_nsec : long () method st_atim_tv_nsec : long () method st_ctim_tv_nsec : long ()
    • Added the Sys::Time::Constant class.
  • Bug Fix
    • Fixed the bug that the internally integral type is wrong. 32bit is fixed to64bit. SPVM::Sys::IO::Utimbuf->set_actime Sys::IO::Utimbuf->set_modtime Sys::Process->usleep Sys::Process->ualarm Sys::Time::Timespec->set_tv_sec Sys::Time::Timespec->set_tv_nsec Sys::Time::Timeval->set_tv_sec Sys::Time::Timeval->set_tv_usec
  • Incompativle Changes
    • The times method is moved from SYS::Process to Sys::Time.
    • The Sys::Process::Tms is renamed to Sys::Time::Tms.
  • Document Improvement
    • Added the doc of the Sys::Time::Tms.

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
Constant Values for Process
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
Interface for Sys::Socket::Sockaddr
struct sockaddr_storage in C language
struct sockaddr_un in C language
Time System Call
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 tms in C language
User System Call
Entry of Group Database
Entry of Password Database