Difference between revisions of "MCSGetDlen2"

From WikiPrizm
Jump to navigationJump to search
(Created page.)
 
(→‎Synopsis: Added header.)
Line 1: Line 1:
 
== Synopsis ==
 
== Synopsis ==
 +
'''Header:''' mcs_syscalls.h
 +
 
'''Syscall:'''
 
'''Syscall:'''
  

Revision as of 00:31, 8 February 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.