108  3.  ++-   

//...

posix_spawn(&Pid,"TaskTypeY",&FileActions,&Attr,
...,NULL) ;

}
wait(&stat) ;

exit(O) ;

}

  3.6    ( ,    )
   ,     
 .

3.10.1.   

 ,     3.7,    -
,    main ().

//  3.7.   ,  
//               ,  

int main(int argc, char *argv[])
{

//. . .

Rt = fund (X, Y, Z) ;

//. . .
}

//  .

int fund(char *M, char *N, char *V)
{

//. . .

char *const args[] = { "TaskX" ,M,N,V,NXJLL} ;

Pid = fork() ;

if(Pid == 0)
{

exec("TaskX",args) ;

}

if(Pid > 0)
{

//. . .
}
wait(&stat) ;

}

  3.7  fund ()    .   -
  .

     ,  . 
   3.8,      .