The OpenNET Project / Index page

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

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

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

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

  • BSD mandoc
     

    NAME

    
    
    mac_free
    
     - free MAC label
    
     
    

    LIBRARY

    Lb libc
    
     
    

    SYNOPSIS

       #include <sys/mac.h>
    int mac_free (mac_t label);
     

    DESCRIPTION

    The mac_free ();
    function frees the storage allocated to contain a Vt mac_t .  

    RETURN VALUES

    The mac_free ();
    function always returns 0. WARNING: see the notes in the Sx BUGS section regarding the use of this function.  

    SEE ALSO

    mac(3), mac_get3, mac_prepare3, mac_set3, mac_text3, mac(4), mac(9)  

    STANDARDS

    POSIX.1e is described in IEEE POSIX.1e draft 17. Discussion of the draft continues on the cross-platform POSIX.1e implementation mailing list. To join this list, see the Fx POSIX.1e implementation page for more information.  

    HISTORY

    Support for Mandatory Access Control was introduced in Fx 5.0 as part of the TrustedBSD Project.  

    BUGS

    POSIX.1e specifies that mac_free ();
    will be used to free text strings created using mac_to_text3. Because Vt mac_t is a complex structure in the TrustedBSD implementation, mac_free ();
    is specific to that type, and must not be used to free the character strings returned from mac_to_text (.);
    Doing so may result in undefined behavior, including application failure.


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO
    STANDARDS
    HISTORY
    BUGS


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




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

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