/* ****************************************************************************** * HEADER FILE * * Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: limits.h,v $ $Revision: 1.3 $ * $Source: /home/interpeak/CVSRoot/ipxinc/include/limits.h,v $ * $Author: jhorteli $ $Date: 2008-01-30 11:39:22 $ * $State: Exp $ $Locker: $ * * INTERPEAK_COPYRIGHT_STRING * Design and implementation by Lennart Bang ****************************************************************************** */ #ifndef IP_LIMITS_H #define IP_LIMITS_H /* **************************************************************************** * 1 DESCRIPTION **************************************************************************** */ /* **************************************************************************** * 2 CONFIGURATION **************************************************************************** */ #include "ipcom_config.h" /* **************************************************************************** * 3 INCLUDE FILES **************************************************************************** */ #ifdef __cplusplus extern "C" { #endif /* **************************************************************************** * 4 DEFINES **************************************************************************** */ #define INT_MAX 0x7fffffff /* max value for an int */ #define INT_MIN (-INT_MAX - 1) #define UINT_MAX 0xffffffffU /* max value for an unsigned int */ #define LONG_MAX 0x7fffffffL /* max value for a long */ #define LONG_MIN (-LONG_MAX - 1L) #define ULONG_MAX 0xffffffffUL /* max value for an unsigned long */ #define SSIZE_MAX INT_MAX /* **************************************************************************** * 5 TYPES **************************************************************************** */ /* **************************************************************************** * 6 FUNCTIONS **************************************************************************** */ #ifdef __cplusplus } #endif #endif /* **************************************************************************** * END OF FILE **************************************************************************** */