pub unsafe extern "C" fn osGetSystemVersionData(
    nver_versionbin: *mut OS_VersionBin,
    cver_versionbin: *mut OS_VersionBin
) -> Result
Expand description

Gets the NAND system-version stored in NVer/CVer.

§Arguments

  • nver_versionbin - Output OS_VersionBin structure for the data read from NVer.
  • cver_versionbin - Output OS_VersionBin structure for the data read from CVer.

§Returns

The result-code. This value can be positive if opening “romfs:/version.bin” fails with stdio, since errno would be returned in that case. In some cases the error can be special negative values as well.