Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!ames!mailrus!cornell!batcomputer!itsgw!brspyr1!tim From: tim@brspyr1.BRS.Com (Tim Northrup) Newsgroups: comp.os.vms Subject: Re: VAX C typedef oddity Message-ID: <4147@brspyr1.BRS.Com> Date: 28 Jul 88 15:00:29 GMT References: <880721084219.00000643081@naif.JPL.NASA.GOV> Organization: BRS Information Technologies, Latham NY Lines: 24 From article by PJS@naif.JPL.NASA.GOV (Peter Scott): | | typedef struct _iobuf* FILE; | | I can't find mention of this post-fixed usage of the asterisk. Is this | equivalent to | | typedef struct *_iobuf FILE; No, I think it would be equivalent to typedef struct _iobuf *FILE; FILE is being defined as "pointer to _iobuf structure", the spacing on either side of the asterisk being ignored. But this seems strange -- every other system defines FILE not as a pointer type, but a structure type? Very odd. What is going on here? -- Tim Northrup +------------------------------------------+ +---------------------------------+ GEnie: T.Northrup | UUCP: uunet!steinmetz!brspyr1!tim | Air Warrior: "Duke" | ARPA: tim@brspyr1.BRS.Com +------------------------------------------+