Lines Matching defs:ptr
29 const char *ptr = "/data/test.txt";
30 FILE *fp = fopen(ptr, "w+");
33 int result = chown(ptr, 0, 0);
34 int ret = stat(ptr, &buf);
41 remove(ptr);
52 const char *ptr = "/data/test.txt";
53 FILE *fp = fopen(ptr, "w+");
56 int result = chown(ptr, 0, -1);
57 int ret = stat(ptr, &buf);
63 remove(ptr);
74 const char *ptr = "/data/test.txt";
75 FILE *fp = fopen(ptr, "w+");
78 int result = chown(ptr, -1, 0);
79 int ret = stat(ptr, &buf);
86 remove(ptr);