diff --git a/libc/config/linux/api.td b/libc/config/linux/api.td --- a/libc/config/linux/api.td +++ b/libc/config/linux/api.td @@ -270,9 +270,11 @@ let Functions = [ "raise", "sigaction", + "sigdelset", "sigprocmask", "sigemptyset", "sigaddset", + "sigfillset", "signal", ]; } diff --git a/libc/lib/CMakeLists.txt b/libc/lib/CMakeLists.txt --- a/libc/lib/CMakeLists.txt +++ b/libc/lib/CMakeLists.txt @@ -11,9 +11,11 @@ # signal.h entrypoints libc.src.signal.raise libc.src.signal.sigaction + libc.src.signal.sigdelset libc.src.signal.sigaddset libc.src.signal.sigemptyset libc.src.signal.sigprocmask + libc.src.signal.sigfillset libc.src.signal.signal # stdlib.h entrypoints diff --git a/libc/spec/posix.td b/libc/spec/posix.td --- a/libc/spec/posix.td +++ b/libc/spec/posix.td @@ -158,6 +158,12 @@ ArgSpec] >, FunctionSpec< + "sigdelset", + RetValSpec, + [ArgSpec, + ArgSpec] + >, + FunctionSpec< "sigprocmask", RetValSpec, [ArgSpec, ArgSpec, ArgSpec] @@ -170,6 +176,12 @@ FunctionSpec< "sigaddset", RetValSpec, + [ArgSpec, + ArgSpec] + >, + FunctionSpec< + "sigfillset", + RetValSpec, [ArgSpec] >, ]