home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.21 / text0011.txt < prev    next >
Encoding:
Text File  |  1990-10-26  |  954 b   |  25 lines

  1. Submitted-From: auspex!guy@uunet.UU.NET (Guy Harris)
  2. From:  guy@auspex.uucp (Guy Harris)
  3.  
  4. >   In this case, without the header, one of AT&T-derived or Berkeley-derived
  5. >   systems would have "lost".
  6.  
  7. Actually, BSD being an AT&T-derived system, things aren't that bad.
  8.  
  9. BSD still has the original V7-flavored "utime()" call, with the second
  10. argument a pointer to the first element of an array of 2 "time_t"s
  11. (that's right, "utime()" in BSD has no microseconds-field support). 
  12.  
  13. Somewhere in the "USG UNIX" chain, the structure was introduced; on most
  14. systems, the structure has the same memory layout as the array.
  15.  
  16. 4.2BSD introduced a call named "utimes()" - note the "s" - that takes a
  17. pointer to an array of 2 "struct timeval"s; that's the call that
  18. supports microseconds fields.  Too bad the 88Open folks didn't pay
  19. attention to this, and just called their call that supported
  20. microseconds fields "utime()".... 
  21.  
  22.  
  23. Volume-Number: Volume 21, Number 12
  24.  
  25.