Difference between revisions of "MCS CreateDirectory"

From WikiPrizm
Jump to navigationJump to search
Line 1: Line 1:
 
{{DISPLAYTITLE:MCS_CreateDirectory}}
 
{{DISPLAYTITLE:MCS_CreateDirectory}}
== Synopsis ==
+
{{syscall
'''Header:''' mcs_syscalls.h
+
| header = mcs_syscalls.h
 
+
| signature = int MCS_CreateDirectory(unsigned char* dir)
'''Syscall:'''
+
| synopsis = Create the named directory in main memory.
 
+
| parameters =
'''Function declaration:''' int MCS_CreateDirectory(unsigned char* dir);
+
* '''dir''' - The name of the directory to create.
 
+
| returns = 0 for success, anything else for failure.
Create the passed in directory in main memory.
+
| comments = Output could be error codes. Still needs investigation.
 
+
}}
=== Inputs ===
+
[[Category:Main_Memory]]
* ''unsigned char*'' '''dir''' - The name of the directory.
 
 
 
=== Outputs ===
 
* '''0''' - Success
 
* '''other''' - Failure
 
 
 
== Comments ==
 
Output could be error codes. Still needs investigation.
 
 
 
[[Category:Syscalls]][[Category:Main_Memory]]
 

Revision as of 17:11, 22 May 2012


Synopsis

Header: mcs_syscalls.h
Syscall index: Not documented
Function signature: int MCS_CreateDirectory(unsigned char* dir)

Create the named directory in main memory.

Parameters

  • dir - The name of the directory to create.

Returns

0 for success, anything else for failure.

Comments

Output could be error codes. Still needs investigation.