priocntlset man page on DigitalUNIX

Printed from http://www.polarhome.com/service/man/?qf=priocntlset&af=0&tf=2&of=DigitalUNIX

priocntlset(2)							priocntlset(2)

NAME
       priocntlset  -  change  scheduling property of a process or set of pro‐
       cesses

SYNOPSIS
       #include <sys/types.h> #include	<sys/procset.h>	 #include  <sys/prioc‐
       ntl.h> #include <sys/rtpriocntl.h> #include <sys/tspriocntl.h>

       int priocntlset(
	       procset_t *psp,
	       int cmd,
	       void *arg );

PARAMETERS
       Specifies  a  pointer to a structure.  The type of structure depends on
       the value you select for the cmd parameter.  Specifies the functions to
       be performed.  Specifies a pointer to a procset structure.

DESCRIPTION
       This  function is used to change the scheduling properties of a running
       process or group of processes.  While the priocntl(2) function performs
       the same tasks, this function enables you to specify the process or set
       of processes that will change in a less complicated manner.

       How the process changes depends on the value you	 select	 for  the  cmd
       parameter.   The	 value	of the arg parameter is dependent on the value
       you select for the  cmd	parameter.   See  the  priocntl	 function  for
       detailed information on these parameters.

       The  psp	 parameter  enables you to identify the process or set of pro‐
       cesses that is to be affected by this call.  This parameter points to a
       procset.h  structure  which  defines  the  selection  process.  In  the
       <sys/procset.h>, a setprocset macro is defined that displays a means of
       initializing the procset structure. For more information on this struc‐
       ture, see the procset(4) reference page.

RETURN VALUE
       This system call returns the same values as the priocntl function.

ERRORS
       This system call returns the same errors as priocntl function.

SEE ALSO
       Functions:  priocntl(2)

       Files:  procset(4)

								priocntlset(2)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net