Go to the documentation of this file.
49 dfile = SDstart(
filename, DFACC_RDONLY);
50 if (dfile ==
FAIL)
return -1;
56 if (
status < 0) printf(
"< 0 status from SDattrinfo\n");
57 if (
status < 0)
return (-1);
59 printf(
"SDattrinfo returned:\n");
60 printf(
"attnum: %d\n", attnum);
61 printf(
"name: [%s]\n",
name);
62 printf(
"nt: %d\n", nt);
63 printf(
"count: %d\n",
count);
68 while (llength >= 0) {
69 llength = DFANgetfidlen(dfile,
NOTFIRST);
74 dlength = DFANgetfdslen(dfile,
NOTFIRST);
81 if (
result < 0)
return (-1);
int rdattr(char *filename)
char filename[FILENAME_MAX]
struct annotation * annot