procset(4) — File Formats
NAME
procset.h − Send a signal to one or more processes
SYNOPSIS
typedef struct procset {
idop_t ∗p_op;
idtype_t p_lidtype;
id_t p_lid;
idtype_t p_ridtype;
id_t p_rid;
} procset_t;
DESCRIPTION
The contents of the <procset.h> structure define a set of target processes based on logical operations performed on the two sets of potential target processes indicated by the two pairs of id + type parameters, which designate "left" and "right" groups of processes. The logical operations supported are the union, intersection, difference, and exclusive OR of the left and right groups.
The p_lid and p_lidtype members define one set of potential target processes, the "left" set. The p_rid and p_ridtype members define the "right" set of potential target processes. These parameters work together to select the target process or processes.
The value of p_op is used to combine these two groups into the final group of actual target processes:
POP_DIFF
Specifies that the target group of processes consist of the remaining processes in the left set that are not common to the right set.
POP_AND
Specifies that the target group consists of those processes that are in both sets.
POP_ORSpecifies that the target group consists of those processes that are in either set, or in both sets.
POP_XORSpecifies that the target group consists of those processes that are in either set, but not in both sets.
RELATED INFORMATION
Functions: priocntlset(2), sigsend(2).
Files: signal.h(4).