FEDEM Solver
R8.0
Source code of the dynamics solver
|
C-version of the file-tag read/write functions. More...
#include "FFaLib/FFaOS/FFaIO.H"
Go to the source code of this file.
Functions | |
int | FFa_writeTag (FT_FILE fd, const char *tag, const int nchar, const unsigned int chksum) |
Writes the file tag, endian field and checksum to a specified file. More... | |
int | FFa_readTag (FT_FILE fd, char *tag, const int nchar, unsigned int *chksum) |
Reads the file tag, endian field and checksum from a specified file. More... | |
int | FFa_endian () |
Returns the current system endian. More... | |
C-version of the file-tag read/write functions.
int FFa_endian | ( | ) |
Returns the current system endian.
int FFa_readTag | ( | FT_FILE | fd, |
char * | tag, | ||
int | nchar, | ||
unsigned int * | cs | ||
) |
Reads the file tag, endian field and checksum from a specified file.
fd | File descriptor/pointer to the investigated file | |
[out] | tag | File tag |
[in] | nchar | Max number of characters in the tag string |
[out] | cs | Checksum value |
int FFa_writeTag | ( | FT_FILE | fd, |
const char * | tag, | ||
int | nchar, | ||
unsigned int | cs | ||
) |
Writes the file tag, endian field and checksum to a specified file.
fd | File descriptor/pointer to the written file | |
[in] | tag | File tag |
[in] | nchar | Number of characters in the tag string |
[in] | cs | Checksum value |