iofunc_space_verify()

Выполнить проверки доступа для сообщения _IO_SPACE

Прототип:

#include <sys/iofunc.h>
int iofunc_space_verify( resmgr_context_t *ctp,
io_space_t *msg,
iofunc_ocb_t *ocb,
int *nonblock );

Аргументы:

ctp
A pointer to a resmgr_context_t structure that the resource-manager library uses to pass context information between functions.
msg
A pointer to the io_space_t structure that contains the message that the resource manager received.
ocb
A pointer to the iofunc_ocb_t structure for the Open Control Block that was created when the client opened the resource.
nonblock
NULL, or a pointer to a location where the function can store a value that indicates whether or not the device is nonblocking:

Библиотека:

libc

Описание:

The iofunc_space_verify() helper function checks the client's permission for an _IO_SPACE message.

Возвращаемое значение:

EBADF
The client doesn't have read access to this resource.
EISDIR
The resource is a directory.
EOK
The client has read access to this resource.

Классификация:

ЗОСРВ «Нейтрино»

Точка остановки потока
Нет
Обработчик прерываний
Нет
Обработчик сигналов
Да
В потоке
Да

Тематические ссылки:

io_space_t, iofunc_ocb_t, iofunc_open(), iofunc_write_default(), iofunc_write_verify(), resmgr_context_t




Предыдущий раздел: Описание API системной библиотеки