unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



procset(4)							   procset(4)



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 <&lt;procset.h>&gt; 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 desig-
  nate "left" and "right" groups of processes.	The logical operations sup-
  ported 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_OR    Specifies that the target group consists of	those processes	that
	    are	in either set, or in both sets.

  POP_XOR   Specifies 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).