Where is ptrdiff_t defined in C?

Where is ptrdiff_t defined in C? If not trivial, how can I make this type visible from GCC on Linux?

+48
c types libc stdint
Aug 30 2018-10-10T00:
source share
1 answer

It is defined in stddef.h .




This header defines the integral types size_t , ptrdiff_t and wchar_t , the function macro offsetof and the constant macro NULL .

+61
Aug 30 '10 at 3:50
source share



All Articles