未验证 提交 a6f15e96 编写于 作者: O openharmony_ci 提交者: Gitee

!230 newlib支持signal接口

Merge pull request !230 from JerryH/newlib
...@@ -197,11 +197,11 @@ int __libc_current_sigrtmax(void); ...@@ -197,11 +197,11 @@ int __libc_current_sigrtmax(void);
int kill(pid_t, int); int kill(pid_t, int);
int sigemptyset(sigset_t *); #define sigaddset(what, sig) (*(what) |= (1U << (sig)), 0)
int sigfillset(sigset_t *); #define sigdelset(what, sig) (*(what) &= ~(1U << (sig)), 0)
int sigaddset(sigset_t *, int); #define sigemptyset(what) (*(what) = 0, 0)
int sigdelset(sigset_t *, int); #define sigfillset(what) (*(what) = ~(0), 0)
int sigismember(const sigset_t *, int); #define sigismember(what, sig) (((*(what)) & (1U << (sig))) != 0)
int sigprocmask(int, const sigset_t *__restrict, sigset_t *__restrict); int sigprocmask(int, const sigset_t *__restrict, sigset_t *__restrict);
int sigsuspend(const sigset_t *); int sigsuspend(const sigset_t *);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册