524  



posix_spawn_file_actions_destroy, posix_spawn_file_actions_init 
         -
  (ADVANCED REALTIME).



SPN   #include <spawn.h>

int posix_spawn_file_actions_destroy (

posix_spawn_file_actions_t *file_actions);

int posix_spawn_file_actions_init (

posix_spawn_file_actions_t *file_ackions);



 posix_spawn_file_actions_destroy()   -
 ,   f-i2e_act2ons;    
  .        
posix_spawn_file_actions_destroy()   , 
 file_actions,   . 
         
posix_spawn_?ile_actions_init ();       
  .

 posix_spawn_file_actions_init ()   
,   file_ackions;      -
   ,      
  posix_spawn ()  posix_spawnp ().

        
 posix_spawn_file_actions_addclose ().   
      .

 

       ;  -
    ,   .



 posix_spawn_file_actions_init ()  , :

[ENOMEM]                 -
  .

 posix_spawn_file_actions_destroy()   -
, :

[EINVAL]           ,   file_actions, .