55 "AMI_ERROR_END_OF_STREAM",
56 "AMI_ERROR_OUT_OF_RANGE",
57 "AMI_ERROR_READ_ONLY",
60 "AMI_ERROR_OBJECT_INITIALIZATION",
61 "AMI_ERROR_PERMISSION_DENIED",
62 "AMI_ERROR_INSUFFICIENT_MAIN_MEMORY",
63 "AMI_ERROR_INSUFFICIENT_AVAILABLE_STREAMS",
64 "AMI_ERROR_ENV_UNDEFINED",
65 "AMI_ERROR_NO_MAIN_MEMORY_OPERATION",
89 cerr <<
"ami_single_temp_name: ";
90 perror(
"G_mkstemp() failed: ");
FILE * open_stream(int fd, AMI_stream_type st)
const char * ami_str_error[]
int ami_single_temp_name(const std::string &base, char *tmp_path)
@ AMI_APPEND_WRITE_STREAM
int G_mkstemp(char *, int, int)
Returns a file descriptor.
void G_fseek(FILE *, off_t, int)
Change the file position of the stream.
Header file for msvc/fcntl.c.
#define assert(condition)