11 int main(int argc
, char **argv
)
18 fprintf(stderr
, "usage: %s <path>\n", argv
[0]);
24 /* create a test variable */
25 fd
= open(path
, O_RDWR
| O_CREAT
, 0600);
27 perror("open(O_WRONLY)");
31 rc
= read(fd
, buf
, sizeof(buf
));
33 fprintf(stderr
, "Reading a new var should return EOF\n");