Line 10:
Line 10:
=== Ioctls ===
=== Ioctls ===
−
{{ Table }}
+
{| class="wikitable"
−
{{ Table/Header | Ioctl | Inputs | Outputs | Function }}
+
|-
−
{{ Table/Row | 1 | 0 | 0x1c bytes | get_flash_stats }}
+
! Ioctl
−
{{ Table/Row | 2 | 0 | 0x198 bytes | ? }}
+
! Inputs
−
{{ Table/Row | 3 | 4 bytes | 0 | Erase block? }}
+
! Outputs
−
{{ Table/Row | 4 | 0 | 0 | check_bad_block: if return value is -13, indicates that the block at the current fpos is bad }}
+
! Function
+
|-
+
| 1
+
| 0
+
| 0x1c bytes
+
| get_flash_stats
+
|-
+
| 2
+
| 0
+
| 0x198 bytes
+
| ?
+
|-
+
| 3
+
| 4 bytes
+
| 0
+
| Erase block?
+
|-
+
| 4
+
| 0
+
| 0
+
| check_bad_block: if return value is -13, indicates that the block at the current fpos is bad
|}
|}
=== Return Codes ===
=== Return Codes ===