FreeBSD version number

arravi

Junior Member
Oct 10, 2001
1
0
0
Hi

I want to get the version number of the FreeBSD OS from a C program. Is there any API for that ?

Thanks
Ravi.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
In netbsd you would check __NetBSD_Version__ from sys/param.h, try something similar I suppose, although I am no C coder, just taking a stabbbb WHY is st ab a banned word :|
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: BingBongWongFooey
In netbsd you would check __NetBSD_Version__ from sys/param.h, try something similar I suppose, although I am no C coder, just taking a stabbbb WHY is st ab a banned word :|

ATOT.