Lines Matching refs:access
113 if (access(filename, F_OK) < 0)
116 if (access(filename, R_OK) >= 0)
119 if (access(filename, W_OK) >= 0)
139 int access;
146 access = O_CREAT | O_RDWR;
148 access |= O_TRUNC;
150 access = O_CREAT | O_WRONLY;
152 access |= O_TRUNC;
154 access = O_RDONLY;
157 access |= O_BINARY;
159 fd = avpriv_open(filename, access, 0666);