LWN.net Logo

ACCESS_ONCE()

ACCESS_ONCE()

Posted Aug 17, 2012 10:37 UTC (Fri) by dgm (subscriber, #49227)
In reply to: ACCESS_ONCE() by daglwn
Parent article: ACCESS_ONCE()

typeof() is clearly something acceptable in gcc's C dialect. Or have they removed their own extension without the word noticing?


(Log in to post comments)

ACCESS_ONCE()

Posted Aug 20, 2012 10:07 UTC (Mon) by etienne (subscriber, #25256) [Link]

The thing is, can the type returned by typeof() be modified by adding the "volatile" keyword, how much can it be modified (how to remove volatility, possible to change the sign-ness by adding signed/unsigned)...

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds