MySQL  8.0.15
Source Code Documentation
my_inttypes.h File Reference

Some integer typedefs for easier portability. More...

#include "my_config.h"
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>

Go to the source code of this file.

Macros

#define MY_FILEPOS_ERROR   (~(my_off_t)0)
 
#define INT_MIN64   (~0x7FFFFFFFFFFFFFFFLL)
 
#define INT_MAX64   0x7FFFFFFFFFFFFFFFLL
 
#define INT_MIN32   (~0x7FFFFFFFL)
 
#define INT_MAX32   0x7FFFFFFFL
 
#define UINT_MAX32   0xFFFFFFFFL
 
#define INT_MIN24   (~0x007FFFFF)
 
#define INT_MAX24   0x007FFFFF
 
#define UINT_MAX24   0x00FFFFFF
 
#define INT_MIN16   (~0x7FFF)
 
#define INT_MAX16   0x7FFF
 
#define UINT_MAX16   0xFFFF
 
#define INT_MIN8   (~0x7F)
 
#define INT_MAX8   0x7F
 
#define UINT_MAX8   0xFF
 
#define SIZE_T_MAX   (~((size_t)0))
 
#define MYF(v)   (myf)(v)
 
#define MY_INT32_NUM_DECIMAL_DIGITS   11U
 
#define MY_INT64_NUM_DECIMAL_DIGITS   21U
 

Typedefs

typedef unsigned long ulong
 
typedef unsigned char uchar
 
typedef signed char int8
 
typedef unsigned char uint8
 
typedef short int16
 
typedef unsigned short uint16
 
typedef unsigned long long int ulonglong
 
typedef long long int longlong
 
typedef longlong int64
 
typedef ulonglong uint64
 
typedef unsigned long long my_ulonglong
 
typedef intptr_t intptr
 
typedef unsigned long my_off_t
 
typedef ptrdiff_t my_ptrdiff_t
 
typedef int myf
 

Detailed Description

Some integer typedefs for easier portability.

Macro Definition Documentation

◆ INT_MAX16

#define INT_MAX16   0x7FFF

◆ INT_MAX24

#define INT_MAX24   0x007FFFFF

◆ INT_MAX32

#define INT_MAX32   0x7FFFFFFFL

◆ INT_MAX64

#define INT_MAX64   0x7FFFFFFFFFFFFFFFLL

◆ INT_MAX8

#define INT_MAX8   0x7F

◆ INT_MIN16

#define INT_MIN16   (~0x7FFF)

◆ INT_MIN24

#define INT_MIN24   (~0x007FFFFF)

◆ INT_MIN32

#define INT_MIN32   (~0x7FFFFFFFL)

◆ INT_MIN64

#define INT_MIN64   (~0x7FFFFFFFFFFFFFFFLL)

◆ INT_MIN8

#define INT_MIN8   (~0x7F)

◆ MY_FILEPOS_ERROR

#define MY_FILEPOS_ERROR   (~(my_off_t)0)

◆ MY_INT32_NUM_DECIMAL_DIGITS

#define MY_INT32_NUM_DECIMAL_DIGITS   11U

◆ MY_INT64_NUM_DECIMAL_DIGITS

#define MY_INT64_NUM_DECIMAL_DIGITS   21U

◆ MYF

#define MYF (   v)    (myf)(v)

◆ SIZE_T_MAX

#define SIZE_T_MAX   (~((size_t)0))

◆ UINT_MAX16

#define UINT_MAX16   0xFFFF

◆ UINT_MAX24

#define UINT_MAX24   0x00FFFFFF

◆ UINT_MAX32

#define UINT_MAX32   0xFFFFFFFFL

◆ UINT_MAX8

#define UINT_MAX8   0xFF

Typedef Documentation

◆ int16

typedef short int16

◆ int64

typedef longlong int64

◆ int8

typedef signed char int8

◆ intptr

typedef intptr_t intptr

◆ longlong

typedef long long int longlong

◆ my_off_t

typedef unsigned long my_off_t

◆ my_ptrdiff_t

typedef ptrdiff_t my_ptrdiff_t

◆ my_ulonglong

typedef unsigned long long my_ulonglong

◆ myf

typedef int myf

◆ uchar

typedef unsigned char uchar

◆ uint16

typedef unsigned short uint16

◆ uint64

typedef ulonglong uint64

◆ uint8

typedef unsigned char uint8

◆ ulong

typedef unsigned long ulong

◆ ulonglong

typedef unsigned long long int ulonglong