Get the BIOS version

Hello,
I have a little question:
How can I get the version of the BIOS I have on my system (in c/c++)?
Thanx a lot in advance.

You need to port dmidecode utility to QNX, project page is here: nongnu.org/dmidecode/

thanx a lot!
I hope to get along with it! ;)