diff --git a/tests/stl/oracle/stl_system_error.err.oracle b/tests/stl/oracle/stl_system_error.err.oracle index 78fffc07b45bfe64adf572994958d587492c2816..8a3186c1eee912cec4689b534e111c996f4119d6 100644 --- a/tests/stl/oracle/stl_system_error.err.oracle +++ b/tests/stl/oracle/stl_system_error.err.oracle @@ -1,4 +1,4 @@ -FRAMAC_SHARE/libc/signal.h:233:28: Expecting ';' after requires clause +FRAMAC_SHARE/libc/signal.h:234:28: Expecting ';' after requires clause FRAMAC_SHARE/libc/wchar.h:55:5: No suitable candidate found for function valid_read_or_empty. FRAMAC_SHARE/libc/wchar.h:69:74: No suitable candidate found for function valid_read_or_empty. FRAMAC_SHARE/libc/wchar.h:80:73: No suitable candidate found for function valid_or_empty. diff --git a/tests/stl/oracle/stl_system_error.res.oracle b/tests/stl/oracle/stl_system_error.res.oracle index 4cff6f1f9ada656f4f647b3c237a29a45db3bf41..f28079f2f308edb9efe3316aedbec8f1222fde1e 100644 --- a/tests/stl/oracle/stl_system_error.res.oracle +++ b/tests/stl/oracle/stl_system_error.res.oracle @@ -1675,6 +1675,15 @@ int sigaction(int signum, struct sigaction const * restrict act, int sigprocmask(int how, sigset_t const * restrict set, sigset_t * restrict oldset); +/*@ requires valid_mask_or_null: sigmask ≡ \null ∨ \valid_read(sigmask); + ensures result_means_interrupted: \result ≡ -1; + ensures errno_set: __fc_errno ≡ 4; + assigns __fc_errno, \result; + assigns __fc_errno \from (indirect: sigmask); + assigns \result \from (indirect: sigmask); + */ +int sigsuspend(sigset_t const *sigmask); + /*@ ensures result_ok_or_error: \result ≡ 0 ∨ \result ≡ -1; assigns \result; assigns \result \from (indirect: pid), (indirect: sig);