MCSGetDlen2

From WikiPrizm
Revision as of 00:31, 8 February 2012 by Merthsoft (talk | contribs) (→‎Synopsis: Added header.)
Jump to navigationJump to search

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.