Lines Matching refs:fd
21 list_attributes(int fd, const char* path, char* buffer, size_t bufferSize)
23 if (fd >= 0)
24 return flistxattr(fd, buffer, bufferSize, 0);
30 get_attribute(int fd, const char* path, const char* attribute, void* buffer,
33 if (fd >= 0)
34 return fgetxattr(fd, attribute, buffer, bufferSize, 0, 0);
40 set_attribute(int fd, const char* path, const char* attribute,
43 if (fd >= 0)
44 return fsetxattr(fd, attribute, buffer, bufferSize, 0, 0);
50 remove_attribute(int fd, const char* path, const char* attribute)
52 if (fd >= 0)
53 return fremovexattr(fd, attribute, 0);