Difference between revisions of "MCS DeleteDirectory"

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

Revision as of 16:18, 22 May 2012


Synopsis

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

Deletes a directory from main memory.

Parameters

  • dir - The name of the directory to delete.

Returns

0 for success, anything else for failure.

Comments

Output could be error codes. Still needs investigation.