tfFSCloseFile
Table of Contents >> Application Reference >> File System Interface
#include <trsocket.h> |
int tfFSCloseFile | ( |
void * userDataPtr, | |
void * fileDataPtr | |
); |
Function Description
Given a unique user data pointer as returned by tfFSUserLogin() and a file data pointer as returned by tfFSOpenFile(), this function closes the file and frees the file data structure pointed to by 'fileDataPtr'.
Parameters
- userDataPtr
- Pointer to user data structure as returned by tfFSUserLogin().
- fileDataPtr
- Pointer to file data structure as returned by tfFSOpenFile().
Returns
- TM_ENOERROR
- Success.
- -1
- Failure.
Table of Contents >> Application Reference >> File System Interface