The OpenNET Project / Index page

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

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

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

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

    NAME

    door_revoke - revoke access to a door descriptor
     
    

    SYNOPSIS

    cc -mt [ flag... ] file... [ library... ]
    #include <door.h>
    
    int door_revoke(int d);
    

     

    DESCRIPTION

    The door_revoke() function revokes access to a door descriptor. Door descriptors are created with door_create(3C). The door_revoke() function performs an implicit call to close(2), marking the door descriptor d as invalid.

    A door descriptor can be revoked only by the process that created it. Door invocations that are in progress during a door_revoke() invocation are allowed to complete normally.  

    RETURN VALUES

    Upon successful completion, door_revoke() returns 0. Otherwise, door_revoke() returns -1 and sets errno to indicate the error.  

    ERRORS

    The door_revoke() function will fail if:

    EBADF

    An invalid door descriptor was passed.

    EPERM

    The door descriptor was not created by this process (with door_create(3C)).

     

    ATTRIBUTES

    See attributes(5) for descriptions of the following attributes:

    ATTRIBUTE TYPEATTRIBUTE VALUE

    Architectureall

    Availability

    Interface Stability

    MT-Level

     

    SEE ALSO

    close(2), door_create(3C), attributes(5)


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    ERRORS
    ATTRIBUTES
    SEE ALSO


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




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

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