[TUHS] C declarations.

Dave Horsfall dave at horsfall.org
Mon May 15 15:01:58 AEST 2017


On Sun, 14 May 2017, Bakul Shah wrote:

> > Nope.
> > 
> >     aneurin% cdecl
> >     Type `help' or `?' for help
> >     explain int*()* f
> >     syntax error
> >     declare f as ptr to function returning ptr to int
> >     int *(*f)()
> 
> Sorry, I was less than clear.  I was just doing a thought
> experiment about an alternate declaration syntax.  Requoting
> from my email:

Sorry - entirely my fault (which I'd realised just *after* I'd sent it, of 
course).  Yes, your idea is a lot better.

-- 
Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."



More information about the TUHS mailing list