How to get QNX and PHOTON version from a function call.

How can I get the QNX version and Photon version from a function call. I
have look at the source code from pidin and saw structure like
syspage_entry. But still have no clue how to get the version.

Rejean Senecal wrote:

How can I get the QNX version and Photon version from a function call.
I
have look at the source code from pidin and saw structure like
syspage_entry. But still have no clue how to get the version.

For the QNX version, call the uname function.

–bl