GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-6da4f45b8e
safileio.c File Reference
#include "shapefil.h"
#include <math.h>
#include <limits.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
Include dependency graph for safileio.c:

Go to the source code of this file.

Functions

SAFile SADFOpen (const char *pszFilename, const char *pszAccess)
 
SAOffset SADFRead (void *p, SAOffset size, SAOffset nmemb, SAFile file)
 
SAOffset SADFWrite (void *p, SAOffset size, SAOffset nmemb, SAFile file)
 
SAOffset SADFSeek (SAFile file, SAOffset offset, int whence)
 
SAOffset SADFTell (SAFile file)
 
int SADFFlush (SAFile file)
 
int SADFClose (SAFile file)
 
int SADRemove (const char *filename)
 
void SADError (const char *message)
 
void SASetupDefaultHooks (SAHooks *psHooks)
 

Function Documentation

◆ SADError()

void SADError ( const char *  message)

Definition at line 173 of file safileio.c.

Referenced by SASetupDefaultHooks().

◆ SADFClose()

int SADFClose ( SAFile  file)

Definition at line 153 of file safileio.c.

References file.

Referenced by SASetupDefaultHooks().

◆ SADFFlush()

int SADFFlush ( SAFile  file)

Definition at line 143 of file safileio.c.

References file.

Referenced by SASetupDefaultHooks().

◆ SADFOpen()

SAFile SADFOpen ( const char *  pszFilename,
const char *  pszAccess 
)

Definition at line 93 of file safileio.c.

Referenced by SASetupDefaultHooks().

◆ SADFRead()

SAOffset SADFRead ( void *  p,
SAOffset  size,
SAOffset  nmemb,
SAFile  file 
)

Definition at line 103 of file safileio.c.

References file.

Referenced by SASetupDefaultHooks().

◆ SADFSeek()

SAOffset SADFSeek ( SAFile  file,
SAOffset  offset,
int  whence 
)

Definition at line 123 of file safileio.c.

References file.

Referenced by SASetupDefaultHooks().

◆ SADFTell()

SAOffset SADFTell ( SAFile  file)

Definition at line 133 of file safileio.c.

References file.

Referenced by SASetupDefaultHooks().

◆ SADFWrite()

SAOffset SADFWrite ( void *  p,
SAOffset  size,
SAOffset  nmemb,
SAFile  file 
)

Definition at line 113 of file safileio.c.

References file.

Referenced by SASetupDefaultHooks().

◆ SADRemove()

int SADRemove ( const char *  filename)

Definition at line 163 of file safileio.c.

Referenced by SASetupDefaultHooks().

◆ SASetupDefaultHooks()