door_revoke(3c) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

door_revoke(3c)

Standard C Library Functions                                   door_revoke(3C)



NAME
       door_revoke - revoke access to a door descriptor

SYNOPSIS
       #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()  func‐
       tion 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(7) for descriptions of the following attributes:


       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE  VALUE  _ Architectureall _ Availabilitysystem/core-os _ Inter‐
       face StabilityCommitted _ MT-LevelSafe


SEE ALSO
       close(2), door_create(3C), attributes(7)



Oracle Solaris 11.4               19 May 2014                  door_revoke(3C)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3