le_basics.h
Go to the documentation of this file.
26 //--------------------------------------------------------------------------------------------------31 //--------------------------------------------------------------------------------------------------36 //--------------------------------------------------------------------------------------------------44 //--------------------------------------------------------------------------------------------------76 //--------------------------------------------------------------------------------------------------85 //--------------------------------------------------------------------------------------------------89 //--------------------------------------------------------------------------------------------------94 //--------------------------------------------------------------------------------------------------103 //--------------------------------------------------------------------------------------------------109 //--------------------------------------------------------------------------------------------------120 //--------------------------------------------------------------------------------------------------122 * Find the address of a containing structure or union, based on the address of one of its members.131 //--------------------------------------------------------------------------------------------------136 //--------------------------------------------------------------------------------------------------165 //--------------------------------------------------------------------------------------------------170 //--------------------------------------------------------------------------------------------------192 //--------------------------------------------------------------------------------------------------197 //--------------------------------------------------------------------------------------------------230 //--------------------------------------------------------------------------------------------------233 //--------------------------------------------------------------------------------------------------237 //--------------------------------------------------------------------------------------------------240 //--------------------------------------------------------------------------------------------------245 * Original source: https://github.com/pfultz2/Cloak/wiki/C-Preprocessor-tricks,-tips,-and-idioms247 //--------------------------------------------------------------------------------------------------250 //--------------------------------------------------------------------------------------------------254 //--------------------------------------------------------------------------------------------------257 //--------------------------------------------------------------------------------------------------261 //--------------------------------------------------------------------------------------------------264 //--------------------------------------------------------------------------------------------------267 * comma) this evaluates to <value>. If the macro is not defined in this format (or not defined at270 //--------------------------------------------------------------------------------------------------273 //--------------------------------------------------------------------------------------------------296 //--------------------------------------------------------------------------------------------------299 //--------------------------------------------------------------------------------------------------323 //--------------------------------------------------------------------------------------------------354 //--------------------------------------------------------------------------------------------------358 //--------------------------------------------------------------------------------------------------361 //--------------------------------------------------------------------------------------------------365 //--------------------------------------------------------------------------------------------------372 //--------------------------------------------------------------------------------------------------378 //--------------------------------------------------------------------------------------------------381 //--------------------------------------------------------------------------------------------------385 //--------------------------------------------------------------------------------------------------402 //--------------------------------------------------------------------------------------------------406 //--------------------------------------------------------------------------------------------------421 //--------------------------------------------------------------------------------------------------425 //--------------------------------------------------------------------------------------------------Current user does not have permission to perform requested action.Definition: le_basics.h:52Definition: le_basics.h:49Would have blocked if non-blocking behaviour was not requested.Definition: le_basics.h:58The process, operation, data stream, session, etc. has stopped.Definition: le_basics.h:69