Article View: comp.std.unix
Article #412Re: is struct utimbuf in the standard sys/types.h?
From: Guy Harris
Date: Fri, 03 Aug 1990 18:01
Date: Fri, 03 Aug 1990 18:01
29 lines
1670 bytes
1670 bytes
From: guy@auspex.uucp (Guy Harris) >My understanding is that not only has the utimbuf structure been >standardized and included in sys/utime.h, but it was changed in >a manner incompatible with current practice. Your understanding is incorrect, if you're thinking of IEEE Std 1003.1-1988. Your description of the alleged change sounds like a description of the arguments to the 4.[2andup]BSD "utimes" call (*not* "utime" - that's still in 4.[2andup]BSD, and is specified to act in the V7 fashion - see below), which takes a pointer to an array of two "struct timeval"s, each one having a "tv_sec" and "tv_usec" member. IEEE Std 1003.1-1988 says, on page 104, that The 'utimbuf' structure is defined by the header <utime.h>, and includes the following members: Member Member Type Name Description ______ ______ ___________ time_t actime Access time time_t modtime Modification time which is just what S5 does (and what V7 did, more or less, although it took a pointer to an array of two "time_t"s - this would *probably* have the same binary format as the structure in question). Volume-Number: Volume 21, Number 4
Technical Details
Message-ID:
<421@usenix.ORG>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!usenix!std-unixReferences:
<405@usenix.ORG> <415@usenix.ORG>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!usenix!std-unix From: guy@auspex.uucp (Guy Harris) Newsgroups: comp.std.unix Subject: Re: is struct utimbuf in the standard sys/types.h? Message-ID: <421@usenix.ORG> Date: 3 Aug 90 18:01:55 GMT References: <405@usenix.ORG> <415@usenix.ORG> Sender: std-unix@usenix.ORG Reply-To: std-unix@uunet.uu.net Organization: Auspex Systems, Santa Clara Lines: 29 Approved: jsq@usenix.org (Moderator, John Quarterman)