data-structures-c
|
container_of definition More...
Go to the source code of this file.
Macros | |
#define | container_of(ptr, type, member) |
Obtain a pointer to the struct that contains the member. | |
container_of definition
For more info, see:
#define container_of | ( | ptr, | |
type, | |||
member ) |
Obtain a pointer to the struct that contains the member.
[in] | ptr | Pointer to the member. |
[in] | type | Container type |
[in] | member | Member name. |