[Eug-lug] LP64
Neil Parker
nparker at LLX.COM
Mon Jan 10 22:15:40 PST 2005
Jacob Meuser wrote,
>there's definitely some, uh, interesting, stuff in the IBP/LoRS
>codebase.
Hmm. Sounds like the authors weren't aware of the Ten Commandments for C
Programmers[1] (in this case, number 10 is the one being violated).
>now that I look closer, there are some reads and write associated with
>data.
>
>here's how _that_ gets setup
>
> ssize_t (*xio_read_v)(void *stream)(void *buf, size_t count);
Huh? That doesn't even parse. (Gcc complains, "error: `xio_read_v'
declared as function returning a function".)
- Neil Parker
[1] http://www.lysator.liu.se/c/ten-commandments.html
More information about the EUGLUG
mailing list