tfFSFlushFile

Jump to: navigation, search

Table of Contents >> Application Reference >> File System Interface


#include <trsocket.h>


int tfFSFlushFile (
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 flushes the file.


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