iofunc_pathconf()

Выполнить запрос pathconf()

Прототип:

#include <sys/iofunc.h>
int iofunc_pathconf( resmgr_context_t *ctp,
io_pathconf_t *msg,
iofunc_ocb_t *ocb,
iofunc_attr_t *attr );

Аргументы:

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_pathconf_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.
attr
A pointer to the iofunc_attr_t structure that describes the characteristics of the device that's associated with your resource manager.

Библиотека:

libc

Описание:

The iofunc_pathconf() helper function does what's needed to support pathconf() with the mount and attr passed to it. Other fsys pathconf() requests need to be handled by the caller.

If you write your own pathconf callout for your resource manager, use the following macro to pass the requested value back to the caller:

_IO_SET_PATHCONF_VALUE( resmgr_context_t *ctp, int value );

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

EOK, or _RESMGR_DEFAULT if the function didn't handle the pathconf() request.

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

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

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

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

iofunc_attr_t, iofunc_ocb_t, io_pathconf_t, iofunc_pathconf_default(), pathconf(), resmgr_context_t




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