mirror of
https://github.com/red-prig/fpPS4.git
synced 2024-10-07 03:33:20 +00:00
sigemptyset
This commit is contained in:
parent
be383e1af3
commit
61761f251e
@ -1066,6 +1066,7 @@ begin
|
||||
|
||||
//signal
|
||||
|
||||
lib^.set_proc($F85EC2FE1764EFE1,@ps4_sigemptyset);
|
||||
lib^.set_proc($5644C0B2B643709D,@ps4_sigfillset);
|
||||
lib^.set_proc($2548A616D29ED0A7,@ps4_sigaddset);
|
||||
lib^.set_proc($68F732A6D6CE899B,@ps4_sigprocmask); //sigprocmask
|
||||
|
@ -8,6 +8,7 @@ uses
|
||||
Windows,
|
||||
sys_signal;
|
||||
|
||||
function ps4_sigemptyset(_set:p_sigset_t):Integer; SysV_ABI_CDecl;
|
||||
function ps4_sigfillset(_set:p_sigset_t):Integer; SysV_ABI_CDecl;
|
||||
function ps4_sigaddset(_set:p_sigset_t;signum:Integer):Integer; SysV_ABI_CDecl;
|
||||
function ps4_sigprocmask(how:Integer;_set,oldset:p_sigset_t):Integer; SysV_ABI_CDecl;
|
||||
@ -31,6 +32,14 @@ uses
|
||||
atomic,
|
||||
sys_kernel;
|
||||
|
||||
function ps4_sigemptyset(_set:p_sigset_t):Integer; SysV_ABI_CDecl;
|
||||
begin
|
||||
if (_set=nil) then Exit(_set_errno(EINVAL));
|
||||
_set^.qwords[0]:=0;
|
||||
_set^.qwords[1]:=0;
|
||||
Result:=0;
|
||||
end;
|
||||
|
||||
function ps4_sigfillset(_set:p_sigset_t):Integer; SysV_ABI_CDecl;
|
||||
begin
|
||||
if (_set=nil) then Exit(_set_errno(EINVAL));
|
||||
|
Loading…
Reference in New Issue
Block a user