Changes for version 0.503 - 2023-11-28
- Bug Fix
- Fix a bug that the compilation of the Sys::IO::Dirent failed becuase cygwin do not have d_reclen in struct dirent.
- New Features
- Add the d_off method to the Sys::IO::Dirent class.
- Add the d_type method to the Sys::IO::Dirent class.
- Add the utimes method to the Sys::IO class.
- Add the optional $tv_sec and $tv_usec arguments to the new method in the Sys::Time::Timeval.
- Add the optional $tv_sec and $tv_nsec arguments to the new method in the Sys::Time::Timespec.
- Incompatible Changes
- The getgroups method in the Sys::User class is changed.
- Before
- static method getgroups : int[] ();
- After
- static method getgroups : int ($size : int, $list : int[]);
- Before
- The definition of the pipe method in the Sys is changed.
- Before
- static method pipe : void ($pipe_fds : int[]);
- After
- static method pipe : void ($read_fd_ref : int*, $write_fd_ref : int*);
- Before
- The definition of the select method in the Sys is changed.
- Before
- static method select : int ($readfds : Sys::Select::Fd_set, $writefds : Sys::Select::Fd_set, $exceptfds : Sys::Select::Fd_set, $timeout : Sys::Time::Timeval);
- After
- static method select : int ($readfds : Sys::Select::Fd_set, $writefds : Sys::Select::Fd_set, $exceptfds : Sys::Select::Fd_set, $timeout : double = 0);
- Before
- The getgroups method in the Sys::User class is changed.
Modules
System Calls for File IO, Sockets, Time, Process, Signals, Users
Environemnt Variables
IO System Call
Constant values for IO.
the class for the DIR type in the C language.
struct dirent in the C language
the class for the FILE type in the C language.
struct flock in the C language
The stat Functions and The struct stat in the C language
struct utimbuf in the C language
IO System Call on Windows
ioctl System Call
Constant values for ioctl.
OS Information
Poll System Call
Constant values for Poll.
Array of struct pollfd in the C language
Process System Call
Constant Values for Process
Select System Call
Constant values for Select.
fd_set Type in C Language
Signals
Signal Constant Values
Signal Handler
Socket System Call
struct addrinfo in the C language
Sys::Socket::AddrinfoLinkedList is a SPVM module
Socket Constant Values
Socket Error Numbers
The address is not a valid network address.
struct in6_addr in the C language
struct in_addr in the C language
Short Description
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 timezone in the C language
struct tm in the C language
struct tms in the C language
User/Group System Calls
Entry of Group Database
Entry of Password Database