tfFSDeleteFile

Jump to: navigation, search

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


#include <trsocket.h>


int tfFSDeleteFile (
void * userDataPtr,
char * pathNamePtr
);


Function Description

Given the unique user data pointer as returned by tfFSUserLogin() and a file name, this function deletes the file.


Parameters

  • userDataPtr
    Pointer to user data structure as returned by tfFSUserLogin().
  • pathNamePtr
    Pointer to a null terminated string containing file name.


Returns

  • TM_ENOERROR
    Success.
  • -1
    Failure.


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