[TUHS] C declarations.

Dave Horsfall dave at horsfall.org
Mon May 15 14:35:34 AEST 2017


On Sat, 13 May 2017, Bakul Shah wrote:

> int*()* f	// f is a ptr to function returning ptr to int

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)()

(Sigh; "cdecl" really needs to print a "> " prompt or something.)

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


More information about the TUHS mailing list