# cpl_port.h File Reference

`#include "cpl_config.h"`
`#include <stdio.h>`
`#include <stdlib.h>`
`#include <math.h>`
`#include <stdarg.h>`
`#include <string.h>`
`#include <ctype.h>`
`#include <limits.h>`
`#include <time.h>`
`#include <errno.h>`
`#include <locale.h>`

Go to the source code of this file.

## Defines
#define | CPL_LSBINT16PTR(x) ((*(GByte*)(x)) | ((*(GByte*)((x)+1)) << 8))
#define | CPL_LSBINT32PTR(x)

## Detailed Description

Core portability definitions for CPL.

## Define Documentation

#define CPL_LSBINT16PTR | ( | x |  | ) | ((*(GByte*)(x)) | ((*(GByte*)((x)+1)) << 8))

Return a Int16 from the 2 bytes ordered in LSB order at address x

#define CPL_LSBINT32PTR | ( | x |  | ) |

Value:

    ((*(GByte*)(x)) | ((*(GByte*)((x)+1)) << 8) | \
                                  ((*(GByte*)((x)+2)) << 16) | ((*(GByte*)((x)+3)) << 24))

Return a Int32 from the 4 bytes ordered in LSB order at address x

Generated for GDAL by 1.5.6.