Подтвердить, что запись может быть уничтожена
#include <sys/iofunc.h>int iofunc_unlink( resmgr_context_t *ctp,io_unlink_t *msg,iofunc_attr_t *attr,iofunc_attr_t *dattr,struct _client_info *info );
NULL
, or a pointer to the iofunc_attr_t structure that describes the characteristics of the parent directory.NULL
, or a pointer to a struct _client_info that contains information about the client.libc
The iofunc_unlink() function verifies that the msg specifies valid semantics for an unlink, and that the client is allowed to unlink the resource, as specified by a combination of who the client is (info), and the resource attributes attr, dattr, attr->uid and attr->gid.
If a directory entry is being removed, iofunc_unlink() checks to see that the directory is empty. The iofunc_unlink() function also updates the time stamps, and decrements the link count for the entry.
ЗОСРВ «Нейтрино»
struct _client_info, io_unlink_t, struct _io_connect, struct _io_connect_link_reply, struct _io_connect_ftype_reply, ConnectClientInfo(), iofunc_attr_t, iofunc_check_access(), resmgr_context_t
Предыдущий раздел: Описание API системной библиотеки