The intptr_t type is a signed integer memsize type that can safely hold a pointer to itself on any platform, regardless of its bitness. The intptr_t type is the analog of the ptrdiff_t and INT_PTR types. The type size depends on the data model being used.
The standard doesn't guarantee the availability of the type (it's marked as optional). In other words, its presence depends on the language standard, compiler, and standard library that are used.
To learn more about the memsize types and their usage, see the article: "About size_t and ptrdiff_t".
0