Sponsored Content
Full Discussion: using chrone
Top Forums UNIX for Dummies Questions & Answers using chrone Post 302253588 by DaTval on Saturday 1st of November 2008 04:35:10 AM
Old 11-01-2008
Yes, I think so. Thank you... Smilie

And what about C++? how can I get list of processes?
 
procset(4)						     Kernel Interfaces Manual							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 <procset.h> structure define a set of target processes based on logical operations performed on the two sets of poten- tial target processes indicated by the two pairs of id + type parameters, which designate "left" and "right" groups of processes. The log- ical 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: Specifies that the target group of processes consist of the remaining processes in the left set that are not common to the right set. Specifies that the target group con- sists of those processes that are in both sets. Specifies that the target group consists of those processes that are in either set, or in both sets. 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). delim off procset(4)
All times are GMT -4. The time now is 04:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy