GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-6596d49e63
|
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include <grass/gis.h>
#include <grass/iostream/ami_stream.h>
Go to the source code of this file.
Functions | |
int | ami_single_temp_name (const std::string &base, char *tmp_path) |
FILE * | open_stream (int fd, AMI_stream_type st) |
FILE * | open_stream (char *pathname, AMI_stream_type st) |
Variables | |
const char * | ami_str_error [] |
int ami_single_temp_name | ( | const std::string & | base, |
char * | tmp_path | ||
) |
Definition at line 71 of file ami_stream.cpp.
References assert, G_mkstemp(), GPATH_MAX, and STREAM_TMPDIR.
Referenced by AMI_STREAM< T >::AMI_STREAM().
FILE* open_stream | ( | char * | pathname, |
AMI_stream_type | st | ||
) |
Definition at line 136 of file ami_stream.cpp.
References AMI_APPEND_STREAM, AMI_APPEND_WRITE_STREAM, AMI_READ_STREAM, AMI_READ_WRITE_STREAM, AMI_WRITE_STREAM, assert, G_fseek(), NULL, and st.
FILE* open_stream | ( | int | fd, |
AMI_stream_type | st | ||
) |
Definition at line 100 of file ami_stream.cpp.
References AMI_APPEND_STREAM, AMI_APPEND_WRITE_STREAM, AMI_READ_STREAM, AMI_READ_WRITE_STREAM, AMI_WRITE_STREAM, assert, NULL, and st.
Referenced by AMI_STREAM< T >::AMI_STREAM().
const char* ami_str_error[] |
Definition at line 52 of file ami_stream.cpp.