home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / std_unix / volume.18 / text0052.txt < prev    next >
Encoding:
Internet Message Format  |  1990-03-18  |  611 b 

  1. From: uunet!ames.arc.nasa.gov!amdahl!drivax!alexande (Mark Alexander)
  2.  
  3. I'm trying to implement the sysconf() function, as defined in
  4. the POSIX ugly green book (Std 1003.1-1988).  The expression
  5.  
  6.     sysconf(_SC_CLK_TCK)
  7.  
  8. is supposed to return the value of CLK_TCK, which is supposedly
  9. defined in the ANSI C standard.  But I can't find CLK_TCK anywhere in
  10. the Dec 7, 1988 draft of ANSI C.  There *is* something called
  11. CLOCKS_PER_SEC, which seems like the right thing.  Did the name get
  12. changed at some point?  Which name is correct?
  13. -- 
  14. Mark Alexander    (amdahl!drivax!alexande)
  15.  
  16. Volume-Number: Volume 18, Number 54
  17.  
  18.