Changes for version 0.24 - 2022-11-04
- New Features
- Added the Sys::Signal class
- Added the Sys::Signal::Constant class.
- Added the Sys::Signal::Handler class.
- Added the following methods in the Sys::Signal::Constant class. BUS_ADRALN BUS_ADRERR BUS_MCEERR_AO BUS_MCEERR_AR BUS_MCERR_ BUS_OBJERR CLD_CONTINUED CLD_DUMPED CLD_EXITED CLD_KILLED CLD_STOPPED CLD_TRAPPED FPE_FLTDIV FPE_FLTINV FPE_FLTOVF FPE_FLTRES FPE_FLTSUB FPE_FLTUND FPE_INTDIV FPE_INTOVF FUTEX_WAIT ILL_BADSTK ILL_COPROC ILL_ILLADR ILL_ILLOPC ILL_ILLOPN ILL_ILLTRP ILL_PRVOPC ILL_PRVREG POLL_ERR POLL_HUP POLL_IN POLL_MSG POLL_OUT POLL_PRI SI_ASYNCIO SI_KERNEL SI_MESGQ SI_QUEUE SI_SIGIO SI_TIMER SI_TKILL SI_USER TRAP_BRANCH TRAP_BRKPT TRAP_HWBKPT TRAP_TRACE SIGABRT SIGALRM SIGBUS SIGCHLD SIGCONT SIGFPE SIGHUP SIGILL SIGINT SIGIO SIGKILL SIGPIPE SIGPROF SIGPWR SIGQUIT SIGRTMAX SIGRTMIN SIGSEGV SIGSTKFLT SIGSTOP SIGSYS SIGTERM SIGTRAP SIGTSTP SIGTTIN SIGTTOU SIGURG SIGUSR1 SIGUSR2 SIGVTALRM SIGWINCH SIGXCPU SIGXFSZ SIG_DFL SIG_ERR SIG_IGN
- Added the Sys::Signal::Handler::SIG_DFL class.
- Added the Sys::Signal::Handler::SIG_IGN class.
- Added the Sys::Signal::Handler::SIG_ERR class.
- Added the Sys::Signal::Handler::SIG_MONITOR class.
- Bug Fix
- Fixed the bug that "solaris" is detected as "sunos" in the get_osname method in the Sys class. SunOS is detected as "solaris". http://www.cpantesters.org/cpan/report/7b1f20d8-5a00-11ed-aba6-9a79f339625c
- Incompatible Changes
- The kill method in the Sys::Process class is moved to the Sys::Signal.
- The alarm and ualarm method is added to the Sys::Signal class. This was removed from the Sys::Process class at 0.23(2022-11-01) native static method alarm : int ($seconds : int); native static method ualarm : int ($usecs : int, $interval : int);
- Added the raise method to the Sys::Signal class.
Modules
System Calls for File IO, User, Process, Signal, 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
struct stat in C language
struct utimbuf in C language
ioctl System Call
Constant values for ioctl.
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
Signal Handler to Monitor Signals
Signal Handler that is unknwon.
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