Lines Matching refs:open
113 int fd = open(file, O_WRONLY | O_CREAT, 0644);
115 t_error("%s error in open normal_file.txt! \n", __func__);
125 fd = open(file, O_WRONLY | O_CREAT, 0666);
127 t_error("%s error in open normal_file.txt! \n", __func__);
137 fd = open(file, O_WRONLY | O_CREAT, 0000);
139 t_error("%s error in open normal_file.txt! \n", __func__);
149 fd = open(file, O_WRONLY | O_CREAT, 0644);
151 t_error("%s error in open hidden_file.txt! \n", __func__);
161 fd = open(file, O_WRONLY | O_CREAT, 0444);
163 t_error("%s error in open read_only_file.txt! \n", __func__);
174 t_error("%s error in open symlink_to_normal_file.txt! \n", __func__);