home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / v22 / 043 / text0000.txt < prev   
Encoding:
Text File  |  1991-03-07  |  792 b   |  28 lines

  1. Submitted-by: peter@ficc.ferranti.com (Peter da Silva)
  2.  
  3. In article <16066@cs.utexas.edu> lewine@cheshirecat.webo.dg.com (Donald Lewine) writes:
  4. > I would propose replacing the phrase: "executes any code" with "calls
  5. > any function defined in this standard or the C standard {8}"  I think
  6. > that does what you mean.
  7.  
  8. How about "executes any code that changes the state of the program". So,
  9. for example:
  10.  
  11.     static int child;
  12.  
  13.     child = 0;
  14.     if(qfork() == 0) {
  15.         child = 1;
  16.         exec...;
  17.     }
  18.  
  19. At this point, unless I'm confused about legal interpretations of "qfork()",
  20. the value of "child" is indeterminate.
  21. -- 
  22. Peter da Silva.   `-_-'    "Eat hot digital death, mainframe scum!"
  23. +1 713 274 5180.   'U`          -- Attack of the Killer Micros.
  24. peter@ferranti.com
  25.  
  26. Volume-Number: Volume 22, Number 43
  27.  
  28.