Lines Matching defs:attribute
33 /*! Dumps the contents of the attribute in the form of
137 catAttr(const char *attribute, const char *fileName, bool keepRaw,
145 if (fs_stat_attr(fd, attribute, &info) < 0) {
150 // limit size of the attribute, only the first 64k will make it on screen
165 ssize_t bytesRead = fs_read_attr(fd, attribute, info.type, 0, buffer, size);
173 fprintf(stderr, "Could only read %ld bytes from attribute!\n",
200 bytesRead = fs_read_attr(fd, attribute, info.type, pos, buffer,
206 "attribute!\n", bytesRead);
208 fprintf(stderr, "Failed to read from attribute: %s\n",
294 "usage: %s [-P] [--raw|-r] <attribute-name> <file1> [<file2>...]\n"
297 " --data,-d\tShow the attribute data only\n", program);
355 fprintf(stderr, "%s: \"%s\", attribute \"%s\": %s\n",