Lines Matching refs:open
1167 if ((newfd = open(newpath, O_RDWR|O_NONBLOCK, 0)) != -1) {
1340 if (((fd1 = open(storepath, O_NONBLOCK|O_RDONLY)) == -1) ||
1350 if (((fd2 = open(keystore_file,
1378 if (((fd1 = open(keystore_file,
1471 open(keystore->capath, O_NONBLOCK|O_RDONLY)) == -1) {
1481 open(keystore->capath,
1526 if ((keystore->cafd = open(keystore->capath,
1531 open(keystore->capath,
2120 fd = open(dest, O_RDWR|O_NONBLOCK);
2122 /* can't open for writing */
2187 if ((fd = open(newpath, O_CREAT|O_EXCL|O_WRONLY|O_NONBLOCK,
2265 if ((fd = open(file, O_RDONLY|O_NONBLOCK)) == -1) {