Go to the source code of this file.
◆ NULL
#define NULL ( ( void * ) 0 ) |
EFI headers also define NULL.
Null pointer
Definition at line 12 of file stddef.h.
◆ offsetof
Get offset of a field within a structure.
- Parameters
-
type | Structure type |
field | Field within structure |
- Return values
-
offset | Offset within structure |
Definition at line 24 of file stddef.h.
◆ container_of
#define container_of |
( |
|
ptr, |
|
|
|
type, |
|
|
|
field |
|
) |
| |
Value:( { \
type *__container; \
const
volatile typeof ( __container->field ) *__field = (ptr); \
__container = ( ( ( void * ) __field ) - \
offsetof (
type, field ) ); \
__container; } )
uint32_t type
Operating system type.
typeof(acpi_finder=acpi_find)
ACPI table finder.
Get containing structure.
- Parameters
-
ptr | Pointer to contained field |
type | Containing structure type |
field | Field within containing structure |
- Return values
-
container | Pointer to containing structure |
Definition at line 35 of file stddef.h.
◆ __WCHAR_TYPE__
◆ __WINT_TYPE__
#define __WINT_TYPE__ int |
◆ wchar_t
◆ wint_t
◆ FILE_LICENCE()
FILE_LICENCE |
( |
GPL2_OR_LATER_OR_UBDL |
| ) |
|