Hello!

How does a -current guy implement the following two macros today:

#define make_sigset(maskp, hi, lo) (*maskp=((hi)<<24)|(lo))

/* Not a procedure: */
#define split_sigset(mask, hip, lop) \
        ((*(hip)=(mask>>24)&0xff), \
         (*(lop)=(mask&0xffffff)))

for make_sigset the stuff is easy:

#define make_sigset(maskp, hi, lo) (sigemptyset(maskp), \
        sigaddset(maskp, hi), \
        sigaddset(maskp, low);)

But... how could I extract two sigs of a sigset_t and save these?

Thanks!

Alex

-- 
I doubt, therefore I might be. 


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

Reply via email to