summaryrefslogtreecommitdiff
path: root/src/stddef/ptrdiff_t.c
blob: 1bbd99c8aaad8600bf1c57a64de7cbf59d2ef58f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <stddef.h>
#ifdef __LLP64__
# if ! defined __STDC_VERSION__ || __STDC_VERSION__ < 199909L
typedef __int64                                                       ptrdiff_t;
# else
typedef long long int                                                 ptrdiff_t;
# endif
#else
typedef long int                                                      ptrdiff_t;
#endif

/** pointer arithmetic type **/

/***
is a signed integral type which results when subtracting one pointer
from another.
***/

/*
TYPEDEF(signed integer)
*/
/*
STDC(1)
*/