The OpenNET Project / Index page

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

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

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

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

  • BSD mandoc
     

    NAME

    
    
    getbootfile
    
     - get kernel boot file name
    
     
    

    LIBRARY

    Lb libc
    
     
    

    SYNOPSIS

       #include <paths.h>
    const char * getbootfile (void);
     

    DESCRIPTION

    The getbootfile ();
    function retrieves the full pathname of the file from which the current kernel was loaded, and returns a static pointer to the name. A read/write interface to this information is available via the sysctl(3) MIB variable ``kern.bootfile ''  

    RETURN VALUES

    If the call succeeds a string giving the pathname is returned. If it fails, a null pointer is returned and an error code is placed in the global location errno  

    SEE ALSO

    sysctl(3)  

    HISTORY

    The getbootfile ();
    function appeared in Fx 2.0 .  

    BUGS

    If the boot blocks have not been modified to pass this information into the kernel at boot time, the static string ``/boot/kernel/kernel '' is returned instead of the real boot file.


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO
    HISTORY
    BUGS


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




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

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