rtlinux_sigsetops

Name

rtlinux_sigemptyset, rtlinux_sigfillset, rtlinux_sigaddset, rtlinux_sigdelset, rtlinux_ismember -- RTLinux User-Level signal set operations

Synopsis

	#include <rtl_signal.h>

	int rtlinux_sigemptyset(rtlinux_sigset_t * set);
	int rtlinux_sigfillset(rtlinux_sigset_t * set);
	int rtlinux_sigaddset(rtlinux_sigset_t * set, int signum);
	int rtlinux_sigdelset(rtlinux_sigset_t * set, int signum);
	int rtlinux_sigismember(rtlinux_sigset_t * set, int signum);

DESCRIPTION

The rtlinux_sigsetops(3) functions allow the manipulation of RTLinux signal sets, similar to sigsetops(3).

rtlinux_sigemptyset initializes the set given by set to empty, with all signals excluded from the set.

rtlinux_sigfillset initializes the set given by set to full, including all signals.

rtlinux_sigaddset and rtlinux_sigdelset add and delete, respectively, signal signum from set.

rtlinux_sigismember tests whether signum is a member of set.

RETURN VALUES

rtlinux_sigemptyset, rtlinux_sigfullset, rtlinux_sigaddset, and rtlinux_sigdelset return 0 on success and -1 on error.

rtlinux_sigismember returns 1 if signum is a member of set, 0 if signum is not a member, and -1 on error.

ERRORS

EINVAL

sig is not a valid signal.

AUTHOR

Nathan Paul Simons (npsimons@fsmlabs.com)

NOTES

This function is only available in Linux user processes. RTLinux threads can not use this function.

SEE ALSO

rtlinux_sigaction(3), rtlinux_sigprocmask(3), rtlinux_signal(3), sigsetops(3)

2001 FSMLabs Inc.

All rights reserved.