24 #include <sys/types.h>    27 #include <sys/ioctl.h>    36 "Usage: fioclient FIOC_FILE [size]\n"    38 "Get size if <size> is omitted, set size otherwise\n"    41 int main(
int argc, 
char **argv)
    48                 fprintf(stderr, 
"%s", usage);
    52         fd = open(argv[1], O_RDWR);
    59                 if (ioctl(fd, FIOC_GET_SIZE, &size)) {
    64                 printf(
"%zu\n", size);
    66                 size = strtoul(argv[2], NULL, 0);
    67                 if (ioctl(fd, FIOC_SET_SIZE, &size)) {