🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.unix
Article #424

Additional structure members (was: is struct utimbuf ...)

#424
From: Geoff Clare
Date: Tue, 07 Aug 1990 16:10
30 lines
1714 bytes
From:  Geoff Clare <gwc@root.co.uk>


In <423@usenix.ORG> donn@hpfcrn.fc.hp.com (Donn Terry) writes:

>The solution in the 1990 revision is to prohibit additional fields
>for the structures like that.  (A vendor is then required to provide
>a new call to set microseconds, or whatever.)

>It was agreed that this was not the most desireable solution, but it
>was the only one that worked.

Has this changed again since 1003.1a draft 5, then?  I understood that
the technical content of the 1990 revision was to be the same as draft 5.

Here's what draft 5 says about struct utimbuf (and also struct sigaction):

    Adding extensions to this structure, which might change the behaviour
    of the application with respect to this standard when those fields in
    the structure are uninitialized, also requires that the extensions be
    enabled as required by 1.2.1.1.

In other words, there can be extra members, but if the application doesn't
initialize them, then utime() must work as described in the standard.
-- 
Geoff Clare <gwc@root.co.uk>  (Dumb American mailers: ...!uunet!root.co.uk!gwc)
UniSoft Limited, Hayne Street, London EC1A 9HH, England.   Tel: +44-71-315-6600


Volume-Number: Volume 21, Number 21
Technical Details
Message-ID: <10981@cs.utexas.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!fletcher
References: <423@usenix.ORG>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!fletcher
From: gwc@root.co.uk (Geoff Clare)
Newsgroups: comp.std.unix
Subject: Additional structure members (was: is struct utimbuf ...)
Message-ID: <10981@cs.utexas.edu>
Date: 7 Aug 90 16:10:20 GMT
References: <423@usenix.ORG>
Sender: fletcher@cs.utexas.edu
Reply-To: std-unix@uunet.uu.net
Organization: UniSoft Ltd., London, England
Lines: 30
Approved: fletcher@cs.utexas.edu (Guest Moderator, Fletcher Mattox)