GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
c-file-ptr-stream.cc File Reference
#include <iostream>
#include "filepos-wrappers.h"
#include "c-file-ptr-stream.h"
Include dependency graph for c-file-ptr-stream.cc:

Go to the source code of this file.

Macros

#define SEEK_CUR   1
 
#define SEEK_END   2
 
#define SEEK_SET   0
 

Functions

static int seekdir_to_whence (std::ios::seekdir dir)
 

Macro Definition Documentation

◆ SEEK_CUR

◆ SEEK_END

◆ SEEK_SET

Function Documentation

◆ seekdir_to_whence()

static int seekdir_to_whence ( std::ios::seekdir  dir)
inlinestatic

Definition at line 103 of file c-file-ptr-stream.cc.

References SEEK_CUR, SEEK_END, and SEEK_SET.

Referenced by c_file_ptr_buf::seekoff(), and c_zfile_ptr_buf::seekoff().