Main index | Section 2 | 日本語 | Options |
#include <unistd.h>
Access to a file may be revoked only by its owner or the super user. The revoke() system call is currently supported only for block and character special device files. It is normally used to prepare a terminal device for a new login session, preventing any access by a previous user of the terminal.
[ENOTDIR] | |
A component of the path prefix is not a directory. | |
[ENAMETOOLONG] | |
A component of a pathname exceeded 255 characters, or an entire path name exceeded 1024 characters. | |
[ENOENT] | |
The named file or a component of the path name does not exist. | |
[EACCES] | |
Search permission is denied for a component of the path prefix. | |
[ELOOP] | |
Too many symbolic links were encountered in translating the pathname. | |
[EFAULT] | |
The path argument points outside the process's allocated address space. | |
[EINVAL] | |
The implementation does not support the revoke() operation on the named file. | |
[EPERM] | |
The caller is neither the owner of the file nor the super user. | |
REVOKE (2) | Jan 25, 2016 |
Main index | Section 2 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | A UNIX saleslady, Lenore, Enjoys work, but she likes the beach more. She found a good way To combine work and play: She sells C shells by the seashore. |
” |