patch-2.1.81 linux/include/linux/signal.h

Next file: linux/include/linux/smb_fs.h
Previous file: linux/include/linux/nfsd/nfsfh.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.80/linux/include/linux/signal.h linux/include/linux/signal.h
@@ -174,6 +174,11 @@
 	set->sig[0] &= ~mask;
 }
 
+extern inline int sigtestsetmask(sigset_t *set, unsigned long mask)
+{
+	return (set->sig[0] & mask) != 0;
+}
+
 extern inline void siginitset(sigset_t *set, unsigned long mask)
 {
 	set->sig[0] = mask;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov