tor  master
Macros
torint.h File Reference

Header file to define uint32_t and friends. More...

#include "orconfig.h"
#include <stdbool.h>
Include dependency graph for torint.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INT64_MIN   ((- INT64_MAX) - 1)
 
#define TIME_MAX   ((time_t)INT_MAX)
 
#define TIME_MIN   ((time_t)INT_MIN)
 
#define TOR_PRIuSZ   "zu"
 
#define SSIZE_T_CEILING   ((ssize_t)(SSIZE_MAX-16))
 
#define SIZE_T_CEILING   ((size_t)(SSIZE_MAX-16))
 

Detailed Description

Header file to define uint32_t and friends.

Macro Definition Documentation

◆ SIZE_T_CEILING

#define SIZE_T_CEILING   ((size_t)(SSIZE_MAX-16))

Any size_t larger than this amount is likely to be an underflow.

◆ SSIZE_T_CEILING

#define SSIZE_T_CEILING   ((ssize_t)(SSIZE_MAX-16))

Any ssize_t larger than this amount is likely to be an underflow.