Lines Matching refs:open
185 fd = open(dtpath, O_RDONLY);
353 fd = open(dtpath, O_RDWR);
384 newfd = open(newpath, O_WRONLY|O_CREAT|O_EXCL, 0644);
443 fd = open(dtpath, O_RDWR);
503 newfd = open(newpath, O_WRONLY|O_CREAT|O_EXCL, 0644);
562 fd = open(dtpath, O_RDWR);
606 newfd = open(newpath, O_WRONLY|O_CREAT|O_EXCL, 0644);
718 * Read the dt_header_t in the container at open file `fd' into the header
733 * Write the dt_header_t pointed to by `headerp' to the container at open
750 * container at open file `fd'. Note that this only returns the fixed
766 * container at open file `fd'. Returns 0 on success, -1 on failure (errno