RTEMS: cpukit/sapi/src/version.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Functions
version.c File Reference
API » Classic » Version

Creates the version strings from the various pieces of version information. The main version number is part of the build system and is stamped into rtems/score/cpuopts.h. The version control key string is extracted from the version control tool when the code is being built and is updated if it has changed. The key may indicate there are local modification. More...

`#include <rtems.h>`
`#include <rtems/version.h>`
`#include "version-vc-key.h"`

## Functions
const char * | rtems_version (void)
| Returns the version string.
int | rtems_version_major (void)
| Returns the version's major number.
int | rtems_version_minor (void)
| Returns the version's minor number.
int | rtems_version_revision (void)
| Returns the version's revision number.
const char * | rtems_version_control_key (void)
| Returns the version control key for the current version of code that has been built.

## Detailed Description

Creates the version strings from the various pieces of version information. The main version number is part of the build system and is stamped into rtems/score/cpuopts.h. The version control key string is extracted from the version control tool when the code is being built and is updated if it has changed. The key may indicate there are local modification.