Difference between revisions of "FSFile:Write"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x08030102] |- | 1 | File offset lower word |- | 2 | File offset upper word |- | 3...")
 
m (WriteOption)
 
(2 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
| Header code [0x08030102]
 
| Header code [0x08030102]
 
|-
 
|-
| 1
+
| 1-2
| File offset lower word
+
| u64, File Offset
|-
 
| 2
 
| File offset upper word
 
 
|-
 
|-
 
| 3
 
| 3
Line 18: Line 15:
 
|-
 
|-
 
| 4
 
| 4
| Flush flags
+
| [[Filesystem_services#WriteOption|WriteOption]]
 
|-
 
|-
 
| 5
 
| 5
| (Size<<4)  <nowiki>|</nowiki> 10
+
| (Size << 4)  <nowiki>|</nowiki> 0xA
 
|-
 
|-
 
| 6
 
| 6
| Data ptr
+
| Data Pointer
 
|}
 
|}
  
Line 37: Line 34:
 
|-
 
|-
 
| 1
 
| 1
| Resultcode
+
| Result code
 
|-
 
|-
 
| 2
 
| 2
 
| Total written data
 
| Total written data
 
|}
 
|}

Latest revision as of 02:02, 14 November 2015

Request[edit]

Index Word Description
0 Header code [0x08030102]
1-2 u64, File Offset
3 Size
4 WriteOption
5 (Size << 4) | 0xA
6 Data Pointer

Response[edit]

Index Word Description
0 Header code
1 Result code
2 Total written data