CECDU:OpenAndRead

From 3dbrew
Revision as of 10:20, 10 September 2016 by Wwylele (talk | contribs) (Use new template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x00120104]
1 buffer size (unused)
2 NCCH Program ID
3 Path type
4 file open flag?
5 Descriptor for process ID
6 Placeholder for process ID
7 Descriptor for mapping a write-only buffer in the target process
8 buffer address

Response

Index Word Description
0 Header code [0x00120082]
1 Result code
2 Total bytes read
3 Descriptor for mapping a write-only buffer in the target process
4 buffer address