GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Functions
c-file-ptr-stream.cc File Reference
#include <iostream>
#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

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

Function Documentation

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

Definition at line 121 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().