11.5. -   FIFO-... 407

,   0,   fork(),  -
 .   11.1     ,
   17.    ,  
 29,      .  
Fd [ 1 ]  ""  .     ( -
    29)    of stream.
 ""      if stream ( 23).
          
,          . -
 ,  ,     ,   -
    ,       -
,     fcntl.   
,     ,      -
  ,      
  .        -
  .         -
 ,    .    -
     of stream  if stream,   
  ()   ().   ,   -
  ""  "",       
     -  .  -
 11.1     _1   ( 30),  -
      ,   ""
( 24).        
  "  11.1".

'^

 
 

programll-1.


 11.1   - 
    .    ,
        ()  -
 (),    fork ().

 

<wait.h>,<unistd.h>,<iostream.h>,<fstream.h>, <math.h>.

     

C++ - programll-1 programll-1.

  

Solaris 8, SuSE Linux 7.1.

  

./programll-1

