priocntllist(S)
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(S)
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(S).
Errors
priocntllist has the same errors as
priocntl(S).
References
priocntl(C),
priocntl(S)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005