Changes for version 0.569 - 2026-06-17

  • Incompatible Changes
    • Change Sys::IO#getcwd definition.
      • native static method getcwd : mutable string ($buf : mutable string, $size : int);
      • native static method getcwd : string ();
    • Change Sys::IO#readlink definition
      • native static method readlink : int ($path : string, $buf : mutable string, $bufsiz : int);
      • native static method readlink : string ($path : string);
    • Change Sys::IO#getdcwd definition.
      • native static method getcwd : mutable string ($drive : int, $buf : mutable string, $size : int);
      • native static method getcwd : string ($drive : int);
    • Rename Sys::IO#_getdcwd to getdcwd.
    • Remove Sys::IO::Windows.
    • Merge Sys::Process#_pipe to Sys::Process#pipe. Remove _pipe.
    • Rename Sys::IO::FileStream#is_pipe to opened_by_popen.
    • Merge Sys::IO#_popen,_pclose to popen, pclose. Remove _popen and _pclose.
  • Internal Changes
    • Add many functions to spvm_sys_windows.c and use them.
    • Define _CRT_NONSTDC_NO_WARNINGS.
    • Define _CRT_SECURE_NO_WARNINGS.
  • Exception Messages Improvement
    • Improve exception messages
  • Bug Fix and Resotre Behaiviors
    • Use _wopen instead of _wsopen_s.
    • Use freopen instead of freopen_s.
    • Use _lseeki64 instead of lseek.
    • Use _ftelli64 instead of ftell.
    • Use _wfopen.

Documentation

Modules

System Calls for File IO, Sockets, Time, Process, Signals, Users
Environemnt Variables
IO System Call
Constant values for File IO.
DIR structure in the C language.
struct dirent in the C language
FILE structure in the C language.
struct flock in the C language
BSD bsd_glob Porting
struct stat in the C language
The ioctl System Call
Constant Values for The ioctl Function.
OS Information
Poll System Call
Constant Values for The poll System Call
Array of struct pollfd in the C language
Process System Calls
Constant Values for Process Manipulation
Resource for Windows
Select System Call
Constant Values for Select.
fd_set structure in C Language
Signal System Calls
Signal Constant Values
System Calls for Sockets
struct addrinfo in the C language
Linked List of struct addrinfo in the C language
Sockets Constant Values
Socket Error Numbers
Invalid Network address Socket Error
struct in6_addr in the C language
struct in_addr in the C language
Base Class of struct in_addr family.
struct ip_mreq in the C language
struct ip_mreq_source in the C language
struct ipv6_mreq in the C language
struct sockaddr in the C language
struct sockaddr_in in the C language
struct sockaddr_in6 in the C language
struct sockaddr_storage in the C language
struct sockaddr_un in the C language
Socket Utilities
System Calls for Time Manipulation
Constant Values for Time
struct itimerval in the C language
struct timespec in the C language
struct timeval in the C language
struct tm in the C language
struct tms in the C language
Time Utilities
struct utimbuf in the C language
User/Group System Calls
Entry of Group Database
Entry of Password Database
Test Utilities for SPVM::Sys::Socket
Servers for tests for SPVM::Sys::Socket
Server Manager Base Class for Tests for Sockets.
Server Manager for tests for internet domain sockets
Server Manager for tests for UNIX Domain Sockets
Socket Utility Functions for SPVM::Sys::Socket