home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.21 / text0003.txt < prev    next >
Encoding:
Internet Message Format  |  1990-10-26  |  1.1 KB

  1. From:  guy@auspex.uucp (Guy Harris)
  2.  
  3. >My understanding is that not only has the utimbuf structure been
  4. >standardized and included in sys/utime.h, but it was changed in
  5. >a manner incompatible with current practice.
  6.  
  7. Your understanding is incorrect, if you're thinking of IEEE Std
  8. 1003.1-1988.  Your description of the alleged change sounds like a
  9. description of the arguments to the 4.[2andup]BSD "utimes" call (*not*
  10. "utime" - that's still in 4.[2andup]BSD, and is specified to act in the
  11. V7 fashion - see below), which takes a pointer to an array of two
  12. "struct timeval"s, each one having a "tv_sec" and "tv_usec" member. 
  13.  
  14. IEEE Std 1003.1-1988 says, on page 104, that
  15.  
  16.     The 'utimbuf' structure is defined by the header <utime.h>, and
  17.     includes the following members:
  18.  
  19.         Member        Member
  20.          Type         Name        Description
  21.         ______        ______        ___________
  22.         time_t        actime        Access time
  23.         time_t        modtime        Modification time
  24.  
  25. which is just what S5 does (and what V7 did, more or less, although it
  26. took a pointer to an array of two "time_t"s - this would *probably* have
  27. the same binary format as the structure in question).
  28.  
  29. Volume-Number: Volume 21, Number 4
  30.  
  31.