Loading...

freebsd-drivers@freebsd.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

RE: How can I decide the kernel version? Yong Fan Fri Mar 23 04:00:48 2012

__FreeBSD_version can work.
Thanks

Yongfan

-----Original Message-----
From: Eitan Adler [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2012 10:24 PM
To: Yong Fan
Cc: [EMAIL PROTECTED]
Subject: Re: How can I decide the kernel version?

On Thu, Mar 22, 2012 at 11:21 PM, Yong Fan <[EMAIL PROTECTED]> 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

The information and any attached documents contained in this message
may be confidential and/or legally privileged.  The message is
intended solely for the addressee(s).  If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful.  If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"