The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

getosreldate (3)
  • >> getosreldate (3) ( FreeBSD man: Библиотечные вызовы )

  • BSD mandoc
     

    NAME

    
    
    getosreldate
    
     - get the value of
    
    __FreeBSD_version
    
     
    

    LIBRARY

    Lb libc
    
     
    

    SYNOPSIS

       #include <osreldate.h>
    int getosreldate (void);
     

    DESCRIPTION

    The getosreldate ();
    function returns an integer showing the version of the currently running Fx 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 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" /usr/share/doc/en_US.ISO8859-1/books/porters-handbook/
     

    HISTORY

    The getosreldate ();
    function appeared in Fx 2.0 .


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    ENVIRONMENT
    EXAMPLES
    ERRORS
    SEE ALSO
    HISTORY


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру