#define IOC_REQUEST_GETATTR _IOWR('f', 30, long)
#define IOC_REQUEST_READPAGE _IOWR('f', 31, long)
#define IOC_REQUEST_SETATTR _IOWR('f', 32, long)
+#define IOC_REQUEST_CREATE _IOWR('f', 33, long)
int main(int argc, char **argv)
{
printf("setattr test... ");
rc = ioctl(fd, IOC_REQUEST_SETATTR, NULL);
printf("result: %d\n", rc);
+
+ printf("create test... ");
+ rc = ioctl(fd, IOC_REQUEST_CREATE, NULL);
+ printf("result: %d\n", rc);
return 0;
}