开发者

Where is ptrdiff_t defined in C?

开发者 https://www.devze.com 2023-01-13 20:54 出处:网络
Where is ptrdiff_t de开发者_如何学Gofined in C?It\'s defined in stddef.h. That header defines the integral types size_t, ptrdiff_t, and wchar_t, the functional macro offsetof, and the constant macr

Where is ptrdiff_t de开发者_如何学Gofined in C?


It's defined in stddef.h.


That header defines the integral types size_t, ptrdiff_t, and wchar_t, the functional macro offsetof, and the constant macro NULL.


It is defined by the POSIX standard: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stddef.h.html Where the type is exactly may be implemetation-specific, but interface is stddef.h

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号