GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
g3dintio.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
#include "G3d_intern.h"
Include dependency graph for g3dintio.c:

Go to the source code of this file.

Functions

int G3d_writeInts (int fd, int useXdr, const int *i, int nofNum)
 
int G3d_readInts (int fd, int useXdr, int *i, int nofNum)
 

Function Documentation

int G3d_readInts ( int  fd,
int  useXdr,
int i,
int  nofNum 
)

Definition at line 68 of file g3dintio.c.

References G3d_error(), G3d_fatalError(), G3D_NO_XDR, G3D_XDR_INT_LENGTH, n, and xdrDecodeStream.

Referenced by G3d_openCellOld().

int G3d_writeInts ( int  fd,
int  useXdr,
const int i,
int  nofNum 
)

Definition at line 11 of file g3dintio.c.

References G3d_error(), G3d_fatalError(), G3D_NO_XDR, G3D_XDR_INT_LENGTH, n, and xdrEncodeStream.

Referenced by G3d_openCellNew().