Lines Matching refs:fd
22 list_attributes(int fd, const char* path, char* buffer, size_t bufferSize)
25 if (fd >= 0) {
26 bytesRead = extattr_list_fd(fd, EXTATTR_NAMESPACE_USER, buffer,
55 get_attribute(int fd, const char* path, const char* attribute, void* buffer,
58 if (fd >= 0) {
59 return extattr_get_fd(fd, EXTATTR_NAMESPACE_USER, attribute, buffer,
68 set_attribute(int fd, const char* path, const char* attribute,
71 if (fd >= 0) {
72 return extattr_set_fd(fd, EXTATTR_NAMESPACE_USER, attribute, buffer,
81 remove_attribute(int fd, const char* path, const char* attribute)
83 if (fd >= 0)
84 return extattr_delete_fd(fd, EXTATTR_NAMESPACE_USER, attribute);