|
FEDEM Solver
R8.0
Source code of the dynamics solver
|
Functions and data type for direct access of large binary files. More...
#include <stdio.h>

Go to the source code of this file.
Macros | |
| #define | Fopen fopen |
| Opens a binary file. More... | |
| #define | Fclose fclose |
| Closes a binary file. More... | |
| #define | Ftell ftell |
| Returns current file position. More... | |
| #define | Fseek fseek |
| Sets the file position. More... | |
| #define | long_int long int |
| 64-bit integer type. More... | |
| #define | FT_rb "rb" |
| File open mode for reading. More... | |
| #define | FT_wb "wb" |
| File open mode for writing. More... | |
| #define | FT_ab "ab" |
| File open mode for appending. More... | |
| #define | FT_rbp "rb+" |
| File open mode for reading and writing. More... | |
| #define | FT_wbp "wb+" |
| File open mode for reading and writing, truncate existing file. More... | |
| #define | FT_tmp "wb+" |
| File open mode for temporary file. More... | |
| #define | FT_open Fopen |
| Opens a binary file. More... | |
| #define | FT_close Fclose |
| Closes a binary file. More... | |
| #define | FT_tell Ftell |
| Returns current file position. More... | |
| #define | FT_seek Fseek |
| Sets the file position. More... | |
| #define | FT_read(buf, n, m, f) fread((void*)buf,n,m,f) |
| Reads an array from file. More... | |
| #define | FT_write(buf, n, m, f) fwrite((void*)buf,n,m,f) |
| Writes an array to file. More... | |
| #define | FT_setbuf(n) false |
| Dummy doing nothing. More... | |
| #define | FT_flush fflush |
| Flushes the file buffer(s) to disk. More... | |
| #define | FT_getc fgetc |
| Reads one character from file. More... | |
| #define | FT_ungetc ungetc |
| Puts back one character to the file stream. More... | |
| #define | FT_gets fgets |
| Reads a string from file. More... | |
| #define | FT_eof feof |
| Checks for end-of-file. More... | |
| #define | FT_int long_int |
| 64-bit integer type. More... | |
| #define | FT_FILE FILE* |
| File pointer. More... | |
Functions and data type for direct access of large binary files.
The symbols in this file are provided to easily enable switching between standard and low-level file IO on windows platforms, through the FT_USE_LOWLEVEL_IO preprocessor macro
| #define Fclose fclose |
Closes a binary file.
| #define Fopen fopen |
Opens a binary file.
| #define Fseek fseek |
Sets the file position.
| #define FT_ab "ab" |
File open mode for appending.
| #define FT_close Fclose |
Closes a binary file.
| #define FT_eof feof |
Checks for end-of-file.
| #define FT_FILE FILE* |
File pointer.
| #define FT_flush fflush |
Flushes the file buffer(s) to disk.
| #define FT_getc fgetc |
Reads one character from file.
| #define FT_gets fgets |
Reads a string from file.
| #define FT_int long_int |
64-bit integer type.
| #define FT_open Fopen |
Opens a binary file.
| #define FT_rb "rb" |
File open mode for reading.
| #define FT_rbp "rb+" |
File open mode for reading and writing.
| #define FT_read | ( | buf, | |
| n, | |||
| m, | |||
| f | |||
| ) | fread((void*)buf,n,m,f) |
Reads an array from file.
| #define FT_seek Fseek |
Sets the file position.
| #define FT_setbuf | ( | n | ) | false |
Dummy doing nothing.
| #define FT_tell Ftell |
Returns current file position.
| #define FT_tmp "wb+" |
File open mode for temporary file.
| #define FT_ungetc ungetc |
Puts back one character to the file stream.
| #define FT_wb "wb" |
File open mode for writing.
| #define FT_wbp "wb+" |
File open mode for reading and writing, truncate existing file.
| #define FT_write | ( | buf, | |
| n, | |||
| m, | |||
| f | |||
| ) | fwrite((void*)buf,n,m,f) |
Writes an array to file.
| #define Ftell ftell |
Returns current file position.
| #define long_int long int |
64-bit integer type.