How can I decide the kernel version?

Eitan Adler lists at eitanadler.com
Fri Mar 23 04:24:55 UTC 2012


On Thu, Mar 22, 2012 at 11:21 PM, Yong Fan <yong.fan at exar.com> wrote:
> Hi all,
>
> How can I decide the kernel version?
> In linux, I can use LINUX_VERSION_CODE and KERNEL_VERSION(x,y,z).
> Does FreeBSD has such similar MACRO?

 __FreeBSD_version ?
http://www.freebsd.org/doc/en/books/porters-handbook/book.html#FREEBSD-VERSIONS


-- 
Eitan Adler


More information about the freebsd-drivers mailing list