Query: getosreldate
OS: freebsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GETOSRELDATE(3) BSD Library Functions Manual GETOSRELDATE(3)NAMEgetosreldate -- get the value of __FreeBSD_versionLIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <unistd.h> int getosreldate(void);DESCRIPTIONThe 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 which is usually installed at /usr/share/doc/en_US.ISO8859-1/books/porters-handbook/.RETURN VALUESUpon successful completion, getosreldate() returns the value requested; otherwise the value -1 is returned and the global variable errno is set to indicate the error.ENVIRONMENTOSVERSION If the environment variable OSVERSION is set, it will override the getosreldate() return value.EXAMPLESAn example can be found in /usr/share/examples/FreeBSD_version.ERRORSThe getosreldate() function may fail and set errno for any of the errors specified for the library function sysctl(3).SEE ALSOThe Porter's Handbook, /usr/share/doc/en_US.ISO8859-1/books/porters-handbook/.HISTORYThe getosreldate() function appeared in FreeBSD 2.0.BSDSeptember 30, 2008 BSD
Related Man Pages |
---|
fclose(3) - mojave |
getvfsbyname(3) - mojave |
ports(7) - freebsd |
initgroups(3) - freebsd |
getosreldate(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
little help needed with my awk |
list of books I have access to |
Unix books from O'Relly |
Getting Started with Unix |
RHCE Materials |