Lines Matching refs:open
94 /* open source file for reading */
96 srcFd = open(a_srcPath, O_RDONLY, 0);
110 /* open target file for writing */
112 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT,
132 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT,
143 * source and target files are open: copy data
187 * Arguments: int srcFd - file descriptor open on source file
188 * int dstFd - file descriptor open on target file
407 * Description: open a file and assure that the descriptor returned is open on
413 * to open
415 * Integer representing the "mode" bits for an open(2) call
423 * == -1 - failed to open - errno contains error code
442 /* open source file */
444 fd = open(a_path, a_oflag);
449 /* return open fd if the source file is not remote */
484 /* create the temporary file and open it */