Подтвердить разрешения на синхронизацию
#include <sys/iofunc.h>
int iofunc_sync_verify( resmgr_context_t *ctp,
io_sync_t *msg,
iofunc_ocb_t *ocb );
- 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_sync_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.
libc
The iofunc_sync_verify() function verifies that the client has permission to synchronize.
- EINVAL
- The resource doesn't support syncing.
- EOK
- The client has read access to this resource.
ЗОСРВ «Нейтрино»
- Точка остановки потока
- Нет
- Обработчик прерываний
- Нет
- Обработчик сигналов
- Да
- В потоке
- Да
iofunc_ocb_t, io_sync_t, iofunc_open(), iofunc_write_default(), iofunc_write_verify(), resmgr_context_t
Предыдущий раздел: Описание API системной библиотеки