Lines Matching refs:futimes
29 * @tc.desc : All parameters are valid, TV is not 0, and futimes can modify the timestamp of the file.
41 int fd = open("futimes.txt", O_RDWR | O_CREAT, 777);
42 ret = futimes(fd, tv);
44 remove("futimes.txt");
49 * @tc.desc : All parameters are valid, TV is 0, and futimes can modify the timestamp of the file.
55 int fd = open("futimes.txt", O_RDWR | O_CREAT, 777);
56 ret = futimes(fd, 0);
58 remove("futimes.txt");
63 * @tc.desc : The fd argument is invalid and the futimes function cannot modify the timestamp of the file.
70 int fd = open("futimes.txt", O_RDWR);
71 ret = futimes(fd, tv);
77 * @tc.desc : All parameters are valid, TV is not 0, and futimes can modify the timestamp of the file.
89 int fd = open("futimes.txt", O_RDWR | O_CREAT, 777);
92 remove("futimes.txt");