ptrdiff_t(3)               Linux Programmer's Manual              ptrdiff_t(3)



NAME
       ptrdiff_t - result of subtracting pointers

SYNOPSIS
       #include <stddef.h>

       typedef ... ptrdiff_t;

DESCRIPTION
       ptrdiff_t  is  a signed integral type, and is the type of the result of
       subtracting a pair of pointers.

   Conversions
       In printf(3) and scanf(3), the j length modifier is used to  specify  a
       ptrdiff_t argument (C99).

   Range
       ptrdiff_t can represent values in (at least) [-65535, 65535] (C99).

       In  <stdint.h>, the minimum value is given as PTRDIFF_MIN and the maxi-
       mum value as PTRDIFF_MAX (C99).

CONFORMING TO
       ISO/IEC 9899

SEE ALSO
       size_t(3)



                                  2005-02-03                      ptrdiff_t(3)