In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

/dev/boot2: Difference between revisions

From WiiBrew
Jump to navigation Jump to search
Ichfly (talk | contribs)
No edit summary
Ichfly (talk | contribs)
No edit summary
Line 60: Line 60:
| style="vertical-align: top;" |No
| style="vertical-align: top;" |No
| style="vertical-align: top;" |?
| style="vertical-align: top;" |?
|-
|}
{| class="wikitable"
|-
! Error code
! POSIX equivalent
! Notes
|-
| -101
|  ?
| Invalid Wrong IN or OUT size, wrong size for a part of the vector, vector alignment problems, non-existant ioctl,wrong structure
|-
|-
| -104
|  ?
|  ?
|-|-
| -106
|  ?
|  ?
|-|-
| -107
|  ?
|  ?
|-|-
| -108
|  ?
|  ?
|-
|-
|-
|}
|}

Revision as of 13:33, 14 July 2010

Something with boot2?

Accept open,close,read,write,seek,ioctl,ioctlv

14 ioctl(0,4,12 return -101)

ioctlv 4,12,14 last only in IOS56+


/dev/boot2 IOS_Ioctlv

number name in count out count vec entry target vec entry size [bytes] libogc prototype Description
0xC ? 1 2 ? 0x40 No ?
? 0x4
? 0x4
0x4 ? 1/2 1/2 ? 0x40 No Can be used with 1 In and 1 Out or 2 In and 2
? 0x4
? (only if you use 2 In/Out)(if this is 0 it is the same as use only 1 in and Out) 0x4
? (only if you use 2 In/Out) Different each time(0xD* 2.in)
0xE ? minimal 1 0 ? ? No ?
Error code POSIX equivalent Notes
-101 ? Invalid Wrong IN or OUT size, wrong size for a part of the vector, vector alignment problems, non-existant ioctl,wrong structure
-104 ? ?
-106 ? ?
-107 ? ?
-108 ? ?