Query: door_revoke
OS: opensolaris
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
door_revoke(3C) Standard C Library Functions door_revoke(3C)NAMEdoor_revoke - revoke access to a door descriptorSYNOPSIScc -mt [ flag... ] file... [ library... ] #include <door.h> int door_revoke(int d);DESCRIPTIONThe 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() invoca- tion are allowed to complete normally.RETURN VALUESUpon successful completion, door_revoke() returns 0. Otherwise, door_revoke() returns -1 and sets errno to indicate the error.ERRORSThe 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)).ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |all | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Stable | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+SEE ALSOclose(2), door_create(3C), attributes(5) SunOS 5.11 22 Mar 2005 door_revoke(3C)
Related Man Pages |
---|
libdoor(3lib) - linux |
libdoor(3lib) - x11r4 |
libdoor(3lib) - osx |
libdoor(3lib) - centos |
libdoor(3lib) - plan9 |
Similar Topics in the Unix Linux Community |
---|
Unix Certification |
UNDELETE a file |
Want to get my foot in the door |
The 5 Minute Management Course (Six Lessons) |
Listing folders that have a file inside them |