MySQL 8.4.2
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 char uchar
 
typedef long long int longlong
 
typedef unsigned long long int ulonglong
 
typedef int8_t int8
 
typedef uint8_t uint8
 
typedef int16_t int16
 
typedef uint16_t uint16
 
typedef int32_t int32
 
typedef uint32_t uint32
 
typedef int64_t int64
 
typedef uint64_t uint64
 
typedef intptr_t intptr
 
typedef ulonglong my_off_t
 
typedef int myf
 

Detailed Description

Some integer typedefs for easier portability.

Deprecated:
Use <stdint.h> instead. Prefer int to sized types.

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 int16_t int16

◆ int32

typedef int32_t int32

◆ int64

typedef int64_t int64

◆ int8

typedef int8_t int8

◆ intptr

typedef intptr_t intptr

◆ longlong

typedef long long int longlong

◆ my_off_t

◆ myf

typedef int myf

◆ uchar

typedef unsigned char uchar

◆ uint16

typedef uint16_t uint16

◆ uint32

typedef uint32_t uint32

◆ uint64

typedef uint64_t uint64

◆ uint8

typedef uint8_t uint8

◆ ulonglong

typedef unsigned long long int ulonglong