🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.unix
Article #428

Re: is struct utimbuf in the standard sys/types.h?

#428
From: Donn Terry
Date: Wed, 08 Aug 1990 22:59
25 lines
1449 bytes
From:  Donn Terry <donn@hpfcrn.fc.hp.com>

(more for "is struct utimbuf".

>I am having some difficulty following the above.  How can a portable
>application do anything to vendor-defined fields?  Isn't the
>application non-portable as soon as it does anything (read or write)
>to a vendor-defined field?

>Is this explained by "strictly conforming" vs. "conforming"?

The point is that a portable application CAN'T know the names of the
fields (otherwise it's not portable).  Given that, how does it initialize
them.  It can't.  Given that it can't, introducing extensions to structures
that are not initialized by the OS, and which don't have an "enable feature"
flag (as do some of the I/O related stuff with flag words) is a bad idea.
(The "enable feature" flags get you out because setting bits other than
those defined by the standard gets you into the "unspecified" space, thus
the portable application cannot set those bits.)

Donn Terry
Same old disclaimer, again.


Volume-Number: Volume 21, Number 25
Technical Details
Message-ID: <11027@cs.utexas.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!fletcher

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!fletcher
From: donn@hpfcrn.fc.hp.com (Donn Terry)
Newsgroups: comp.std.unix
Subject: Re: is struct utimbuf in the standard sys/types.h?
Message-ID: <11027@cs.utexas.edu>
Date: 8 Aug 90 22:59:59 GMT
Sender: fletcher@cs.utexas.edu
Reply-To: std-unix@uunet.uu.net
Lines: 25
Approved: fletcher@cs.utexas.edu (Guest Moderator, Fletcher Mattox)