Nut/OS version number. More...
Functions | |
uint32_t | NutVersion (void) |
Return Nut/OS version. | |
CONST char * | NutVersionString (void) |
Return Nut/OS version string. |
Nut/OS version number.
The version number is divided into four parts:
The following code test for version 4.0.1.
if (NutVersion() < 0x04000100UL) { printf("Error: Nut/OS is too old\n"); }
uint32_t NutVersion | ( | void | ) |
Return Nut/OS version.
Definition at line 297 of file version.c.
References OS_VERSION_NUMBER.
CONST char* NutVersionString | ( | void | ) |
Return Nut/OS version string.
Definition at line 313 of file version.c.
Referenced by LuaThread(), main(), MibRegisterSysVars(), NutFtpServerSession(), and NutHttpSendHeaderTop().