*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: getosreldate | Section: 3 | Source: FreeBSD | File: getosreldate.3.gz
GETOSRELDATE(3) FreeBSD Library Functions Manual GETOSRELDATE(3) NAME getosreldate - get the value of __FreeBSD_version LIBRARY Standard C Library (libc, -lc) SYNOPSIS #include <unistd.h> int getosreldate(void); DESCRIPTION The getosreldate() function returns an integer showing the version of the currently running FreeBSD kernel. Definitions of the values can be found in The Porter's Handbook: https://www.FreeBSD.org/doc/en/books/porters-handbook/ RETURN VALUES Upon successful completion, getosreldate() returns the value requested; otherwise the value -1 is returned and the global variable errno is set to indicate the error. ENVIRONMENT OSVERSION If the environment variable OSVERSION is set, it will override the getosreldate() return value. EXAMPLES An example can be found in /usr/share/examples/FreeBSD_version. ERRORS The getosreldate() function may fail and set errno for any of the errors specified for the library function sysctl(3). SEE ALSO The Porter's Handbook. HISTORY The getosreldate() function appeared in FreeBSD 2.0. FreeBSD 14.1-RELEASE-p8 June 13, 2018 FreeBSD 14.1-RELEASE-p8

Navigation Options