Difference between revisions of "MCS CreateDirectory"

From WikiPrizm
Jump to navigationJump to search
(Created page.)
 
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:MCS_CreateDirectory}}
+
{{syscall
== Synopsis ==
+
| name = MCS_CreateDirectory
'''Syscall:'''
+
| header = fxcg/file.h
 
+
| index = 0x154B
'''Function declaration:''' int MCS_CreateDirectory(unsigned char* dir);
+
| signature = int MCS_CreateDirectory(unsigned char* dir)
 
+
| synopsis = Create the named directory in main memory.
Create the passed in directory in main memory.
+
| parameters =
 
+
* '''dir''' - The name of the directory to create in letters, numbers, and symbols.
=== Inputs ===
+
| returns = * 0 for success;
* ''unsigned char*'' '''dir''' - The name of the directory.
+
* 0xF0 if '''dir''' is null or its length is zero;
 
+
* 0x42 if the directory already exists;
=== Outputs ===
+
* 0x43 if the directory space is exhausted.
* '''0''' - Success
+
| comments = Empty folders aren't seen by add-ins.
* '''other''' - Fail
+
}}
 
+
[[Category:Syscalls:MCS]]
== Comments ==
 
Output could be error codes. Still needs investigation.
 

Latest revision as of 08:47, 30 July 2014


Synopsis

Header: fxcg/file.h
Syscall index: 0x154B
Function signature: int MCS_CreateDirectory(unsigned char* dir)

Create the named directory in main memory.

Parameters

  • dir - The name of the directory to create in letters, numbers, and symbols.

Returns

  • 0 for success;
  • 0xF0 if dir is null or its length is zero;
  • 0x42 if the directory already exists;
  • 0x43 if the directory space is exhausted.

Comments

Empty folders aren't seen by add-ins.