For the errata:
"Index: stddef.h is listed but not summarized in the text; It needs a
section in Appendix B".
I propose the following:
"B12. Common standard type definitions: <stddef.h>
The standard header <stddef.hdefine s the following types and macros:
The types are:
ptrdiff_t
A signed integral type of the result of subtracting two pointers.
wchar_t
An integral type whose range of values can represent distinct
wide-character codes for all members of the largest extended character
set specified among the supported locales; the null character has the
code value 0 and each member of the basic character set has a code value
equal to its value when used as the lone character in an integer
character constant.
size_t
An unsigned integral type of the result of the sizeof operator.
The macros are:
NULL
NULL expands to an implementation-defined null pointer constant.
offsetof(type, member-designator)
offsetof expands to an integral constant expression of type size_t,
the value of which is the offset in bytes to the structure member
(member-designator), from the beginning of its structure (type)".
Any feedback is welcome.
"Index: stddef.h is listed but not summarized in the text; It needs a
section in Appendix B".
I propose the following:
"B12. Common standard type definitions: <stddef.h>
The standard header <stddef.hdefine s the following types and macros:
The types are:
ptrdiff_t
A signed integral type of the result of subtracting two pointers.
wchar_t
An integral type whose range of values can represent distinct
wide-character codes for all members of the largest extended character
set specified among the supported locales; the null character has the
code value 0 and each member of the basic character set has a code value
equal to its value when used as the lone character in an integer
character constant.
size_t
An unsigned integral type of the result of the sizeof operator.
The macros are:
NULL
NULL expands to an implementation-defined null pointer constant.
offsetof(type, member-designator)
offsetof expands to an integral constant expression of type size_t,
the value of which is the offset in bytes to the structure member
(member-designator), from the beginning of its structure (type)".
Any feedback is welcome.
Comment