parenthesis while addressing struct member

Carlos O'Donell carlos@systemhalted.org
Sat Jul 26 17:49:00 GMT 2014


On Sat, Jul 26, 2014 at 1:43 PM, Joël Krähemann <weedlight@gmail.com> wrote:
> Further I really believe it should rather be of form like:
>
> &(mutex->__data.__lock)
>
> is it still the same?

Yes. It is still the same. Use `-Wall -pedantic` and you can play
around with the assignments and let the compiler tell you when you get
it wrong.

Cheers,
Carlos.



More information about the Libc-help mailing list