fixup sigandset
This commit is contained in:
parent
e34d967c3e
commit
4ab26cc34c
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#define SST_SIZE (sizeof(sigset_t) / sizeof(long))
|
#define SST_SIZE (_NSIG/8)
|
||||||
|
|
||||||
int sigandset(sigset_t *dest, sigset_t *left, sigset_t *right)
|
int sigandset(sigset_t *dest, sigset_t *left, sigset_t *right)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#define SST_SIZE (sizeof(sigset_t) / sizeof(long))
|
#define SST_SIZE (_NSIG/8)
|
||||||
|
|
||||||
int sigorset(sigset_t *dest, sigset_t *left, sigset_t *right)
|
int sigorset(sigset_t *dest, sigset_t *left, sigset_t *right)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue