Discuss the functions sigemptyset, sigfillset, sigaddset, sigdelset, and sigismember used for manipulating signal sets in Linux. Provide examples demonstrating the initialization of an empty signal set, adding SIGINT to it, and checking if SIGINT is a member.
The sigemptyset initializes the signal set pointed to by set to exclude all defined signals. The sigfillset function initializes the signal set pointed to by set to to include all defined signals. The sigaddset function adds the individual signal specified by signum to the signal set pointed to by set. The sigdelset function deletes the individual signal specified by signum to the signal set pointed to by set. The sigismember function test whether the signal specified by signum is a member of the signal set pointed to by the set.