79 (FILE** ppFile,
const char* filePath,
const char* access);
97 (
OSCTXT* pctxt,
const char* filePath, OSOCTET** ppMsgBuf,
size_t* pLength);
115 (
OSCTXT* pctxt, FILE* pFile, OSOCTET** ppMsgBuf,
size_t* pLength);
133 (
OSCTXT* pctxt,
const char* filePath, OSOCTET** ppMsgBuf,
size_t* pLength);
154 (
OSCTXT* pctxt,
const char* filePath, OSOCTET** ppMsgBuf,
size_t* pLength);
167 (
const char* filePath,
const OSOCTET* pMsgBuf,
size_t length);
181 (
const char* filePath,
const char* pMsgBuf);
194 (
const char* srcFilePath,
const char* destFilePath);
EXTERNRT int rtxFileCopyTextFile(const char *srcFilePath, const char *destFilePath)
This function copies the contents on one text file to another.
EXTERNRT int rtxFileReadBinary(OSCTXT *pctxt, const char *filePath, OSOCTET **ppMsgBuf, size_t *pLength)
This function reads the entire contents of a binary file into memory.
EXTERNRT int rtxFileWriteBinary(const char *filePath, const OSOCTET *pMsgBuf, size_t length)
This function writes binary data from memory to the given file.
EXTERNRT OSBOOL rtxFileExists(const char *filePath)
This function tests if a file exists.
Common run-time context definitions.
EXTERNRT OSBOOL rtxFileIsDirectory(const char *filePath)
This function tests if a file is actually a directory.
EXTERNRT int rtxFileReadBinary2(OSCTXT *pctxt, FILE *pFile, OSOCTET **ppMsgBuf, size_t *pLength)
This function reads the entire contents of a binary file into memory.
EXTERNRT int rtxFileOpen(FILE **ppFile, const char *filePath, const char *access)
This function opens a file for read, write, or append access.
EXTERNRT time_t rtxFileLastModified(const char *filePath)
This function returns the last modified time for a given file.
EXTERNRT int rtxFileReadText(OSCTXT *pctxt, const char *filePath, OSOCTET **ppMsgBuf, size_t *pLength)
This function reads the entire contents of an ASCII text file into memory.
EXTERNRT int rtxFileWriteText(const char *filePath, const char *pMsgBuf)
This function writes text data from memory to the given file.
EXTERNRT int rtxFileReadBinToSysMem(OSCTXT *pctxt, const char *filePath, OSOCTET **ppMsgBuf, size_t *pLength)
This function reads the entire contents of a binary file into memory.
Run-time context structure.