Hi,

How do I test if sigset_t is empty in -current?  The xview sources
have this macro:

#define sigisempty(s)   (!(*(s)))

which is ok for the old sigset_t (unsigned int) but obviously won't
work for the new one since it's a struct.

typedef struct __sigset {
       unsigned int    __bits[_SIG_WORDS];
} sigset_t;

Am I supposed to use a loop to iterate through the __bits and test if
all of them are zero or something?

Thanks,
Satoshi


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to