GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
port_init.c File Reference
#include <stdio.h>
#include <grass/Vect.h>
Include dependency graph for port_init.c:

Go to the source code of this file.

Macros

#define TEST_PATTERN   1.3333
 
#define LONG_TEST   0x01020304
 
#define INT_TEST   0x01020304
 
#define SHORT_TEST   0x0102
 

Functions

void port_init (void)
 

Variables

int nat_dbl = sizeof(double)
 
int nat_flt = sizeof(float)
 
int nat_lng = sizeof(long)
 
int nat_int = sizeof(int)
 
int nat_shrt = sizeof(short)
 
int dbl_order
 
int flt_order
 
int lng_order
 
int int_order
 
int shrt_order
 
unsigned char dbl_cnvrt [sizeof(double)]
 
unsigned char flt_cnvrt [sizeof(float)]
 
unsigned char lng_cnvrt [sizeof(long)]
 
unsigned char int_cnvrt [sizeof(int)]
 
unsigned char shrt_cnvrt [sizeof(short)]
 

Macro Definition Documentation

#define INT_TEST   0x01020304

Definition at line 60 of file port_init.c.

#define LONG_TEST   0x01020304

Definition at line 59 of file port_init.c.

#define SHORT_TEST   0x0102

Definition at line 61 of file port_init.c.

#define TEST_PATTERN   1.3333

Definition at line 58 of file port_init.c.

Function Documentation

void port_init ( void  )

Variable Documentation

unsigned char dbl_cnvrt[sizeof(double)]

Definition at line 91 of file port_init.c.

Referenced by dig_init_portable(), main(), and port_init().

int dbl_order

Definition at line 85 of file port_init.c.

Referenced by dig__byte_order_out(), dig_init_portable(), main(), and port_init().

unsigned char flt_cnvrt[sizeof(float)]

Definition at line 92 of file port_init.c.

Referenced by dig_init_portable(), main(), and port_init().

int flt_order

Definition at line 86 of file port_init.c.

Referenced by dig_init_portable(), main(), and port_init().

unsigned char int_cnvrt[sizeof(int)]

Definition at line 94 of file port_init.c.

Referenced by dig_init_portable(), main(), and port_init().

int int_order

Definition at line 88 of file port_init.c.

Referenced by dig__fread_port_I(), dig__fwrite_port_I(), dig_init_portable(), main(), and port_init().

unsigned char lng_cnvrt[sizeof(long)]

Definition at line 93 of file port_init.c.

Referenced by dig_init_portable(), main(), and port_init().

int lng_order

Definition at line 87 of file port_init.c.

Referenced by dig__fread_port_L(), dig__fwrite_port_L(), dig_init_portable(), main(), and port_init().

int nat_dbl = sizeof(double)

Definition at line 79 of file port_init.c.

Referenced by main(), and port_init().

int nat_flt = sizeof(float)

Definition at line 80 of file port_init.c.

Referenced by main(), and port_init().

int nat_int = sizeof(int)

Definition at line 82 of file port_init.c.

Referenced by dig__fread_port_I(), dig__fwrite_port_I(), main(), and port_init().

int nat_lng = sizeof(long)

Definition at line 81 of file port_init.c.

Referenced by dig__fread_port_L(), dig__fwrite_port_L(), main(), and port_init().

int nat_shrt = sizeof(short)

Definition at line 83 of file port_init.c.

Referenced by dig__fread_port_S(), dig__fwrite_port_S(), main(), and port_init().

unsigned char shrt_cnvrt[sizeof(short)]

Definition at line 95 of file port_init.c.

Referenced by dig_init_portable(), main(), and port_init().

int shrt_order

Definition at line 89 of file port_init.c.

Referenced by dig__fread_port_S(), dig__fwrite_port_S(), dig_init_portable(), main(), and port_init().