BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJLIB Reference

limits.h File Reference

Common min and max values. More...

Go to the source code of this file.

Macros

#define PJ_MAXINT32   0x7fffffff
 
#define PJ_MININT32   0x80000000
 
#define PJ_MAXUINT16   0xffff
 
#define PJ_MAXUINT8   0xff
 
#define PJ_MAXLONG   LONG_MAX
 
#define PJ_MINLONG   LONG_MIN
 
#define PJ_MAXULONG   ULONG_MAX
 

Detailed Description

Common min and max values.

Macro Definition Documentation

◆ PJ_MAXINT32

#define PJ_MAXINT32   0x7fffffff

Maximum value for signed 32-bit integer.

◆ PJ_MAXLONG

#define PJ_MAXLONG   LONG_MAX

Maximum value for long.

◆ PJ_MAXUINT16

#define PJ_MAXUINT16   0xffff

Maximum value for unsigned 16-bit integer.

◆ PJ_MAXUINT8

#define PJ_MAXUINT8   0xff

Maximum value for unsigned char.

◆ PJ_MAXULONG

#define PJ_MAXULONG   ULONG_MAX

Minimum value for unsigned long.

◆ PJ_MININT32

#define PJ_MININT32   0x80000000

Minimum value for signed 32-bit integer.

◆ PJ_MINLONG

#define PJ_MINLONG   LONG_MIN

Minimum value for long.

 


PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.