priocntllist(2) priocntllist(2)
NAME
priocntllist - generalized process scheduler control for a set
of LWPs
SYNOPSIS
#include <sys/types.h>
#include <sys/procset.h>
#include <sys/priocntl.h>
#include <sys/fppriocntl.h>
#include <sys/tspriocntl.h>
long priocntllist(lwpid_t *lwpidp, int idcnt, int cmd, void *arg);
DESCRIPTION
priocntllist supports the same capabilities as priocntl, but
provides an interface for specifying an arbitrary set of LWPs
within the calling process to which the system call applies.
cmd specifies the function to be performed.
arg is a pointer to a structure whose type depends on cmd.
See priocntl(2) for the valid values of cmd and the
corresponding arg structures.
lwpid is a pointer to an array in user memory of LWP IDs that
identify the LWPs to which the system call applies.
idcnt is the number of elements in the array. If one or more
of the LWPs specified by the lwpid array do not exist,
priocntllist performs the operation on all LWPs
specified in the lwpid array that do exist, and then
returns failure with errno set to ESRCH.
Return Values
priocntllist has the same return values as priocntl(2).
Errors
priocntllist has the same errors as priocntl(2).
REFERENCES
priocntl(1), priocntl(2)
Copyright 1994 Novell, Inc. Page 1