RTEMS  5.1
Functions
version.c File Reference

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. More...
 
int rtems_version_major (void)
 Returns the version's major number. More...
 
int rtems_version_minor (void)
 Returns the version's minor number. More...
 
int rtems_version_revision (void)
 Returns the version's revision number. More...
 
const char * rtems_version_control_key (void)
 Returns the version control key for the current version of code that has been built. More...
 

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.