Difference between revisions of "MCSDelVar2"

From WikiPrizm
Jump to navigationJump to search
Line 7: Line 7:
 
| parameters =
 
| parameters =
 
* '''dir''' - The name of the directory where the file to delete is located;
 
* '''dir''' - The name of the directory where the file to delete is located;
* '''item''' - The name of the item to delete;
+
* '''item''' - The name of the item to delete.
 
| returns = * 0 for success;
 
| returns = * 0 for success;
 
* 0x40 if '''dir''' or the '''item''' in '''dir''' does not exist.
 
* 0x40 if '''dir''' or the '''item''' in '''dir''' does not exist.

Revision as of 09:41, 30 July 2014


Synopsis

Header: fxcg/file.h
Syscall index: 0x1558
Function signature: int MCSDelVar2(unsigned char* dir, unsigned char* item)

Deletes a variable inside a directory from the main memory.

Parameters

  • dir - The name of the directory where the file to delete is located;
  • item - The name of the item to delete.

Returns

  • 0 for success;
  • 0x40 if dir or the item in dir does not exist.