Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ptrdiff_tC中定义在哪里?
ptrdiff_t
它定义在stddef.h.
stddef.h
该头文件定义了整数类型size_t、、ptrdiff_t和wchar_t、功能宏offsetof和常量宏NULL。
size_t
wchar_t
offsetof
NULL
它由 POSIX 标准定义:http ://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stddef.h.html确切的类型可能是特定于实现的,但接口是 stddef.h