Difference between revisions of "MCSGetDlen2"

From WikiPrizm
Jump to navigationJump to search
Line 22: Line 22:
 
Output could be error codes. Still needs investigation.
 
Output could be error codes. Still needs investigation.
  
[[Category:Syscalls]]
+
[[Category:Syscalls]][[Category:Main_Memory]]

Revision as of 18:05, 15 May 2012

Synopsis

Header: mcs_syscalls.h

Syscall:

Function declaration: int MCSGetDlen2(unsigned char* dir, unsigned char* item, int* data_len);

Gets the length in bytes of the item in main memory.

Inputs

  • unsigned char* dir - The name of the directory.
  • unsigned char* item - The name of the item.

Outputs

  • int* data_len - The length of the data.
  • 0 - Success
  • other - Failure

Comments

Sets dir\item as the current item for MCSGetData1.

Output could be error codes. Still needs investigation.