Difference between revisions of "MCSGetDlen2"

From WikiPrizm
Jump to navigationJump to search
(→‎Synopsis: Added header.)
Line 21: Line 21:
  
 
Output could be error codes. Still needs investigation.
 
Output could be error codes. Still needs investigation.
 +
 +
[[Category:Syscalls]]

Revision as of 17:55, 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.