532  



posix_spawnattr_getschedparam,     posix_spawnattr_setschedparam
     spawn-schedparam   
  (ADVANCED REALTIME).



SPN PS   # include < spawn.h>
# include < sched.h>

int posix_spawnattr_getschedparam (

const posix_spawnattr_t *resfcrict afcfcr,
struct sched_param *restrict schedparam);

int posix_spawnattr_setschedparam (

posix_spawnattr_t '"restrict attr,
const struct sched_param *restrict schedparam) ;



 posix_spawnattr_getschedparam()    -
  spawn-schedparam   ,   a t tr.

 posix_spawnattr_setschedparam()   
spawn-schedparam    ,  -
  t tr.

 spawn-schedparam    , -
        
(   spawn-flags   POSIX_SPAWN_SETSCHEDULER  
POSIX_SPAWN_SETSCHEDPARAM).       .

 

    posix_spawnattr_getschedparam() -
       spawn -schedparam  
,   attr,  ,  
schedparam,      ,   .

    posix_spawnattr_setschedparam() -
  ,      ,   .



     , :

[EINVAL]           ,   attr, .

 posix_spawnattr_setschedparam ()   , :

[ EINVAL ]              .