Home | History | Annotate | Download | only in host

Lines Matching refs:open

2  * Copyright 2005 The Android Open Source Project
6 * The GNU/Linux "cp" uses O_LARGEFILE in its open() calls, utimes() instead
242 /* open src */
243 srcFd = open(src, O_RDONLY | O_BINARY, 0);
245 fprintf(stderr, "acp: unable to open '%s': %s\n", src, strerror(errno));
249 /* open dest with O_CREAT | O_TRUNC */
251 dstFd = open(dst, O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0644);
281 dstFd = open(dst, O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0644);
285 fprintf(stderr, "acp: unable to open '%s': %s\n",
315 srcFd = open(srcRsrcName, O_RDONLY);
316 dstFd = open(dstRsrcName, O_TRUNC | O_WRONLY, 0);
471 * Open the directory, and plow through its contents.
475 fprintf(stderr, "acp: unable to open directory '%s': %s\n",
551 * called "foo.exe", stat("foo", ...) will succeed, but open("foo", ...)
561 tmpFd = open(src, O_RDONLY | O_BINARY, 0);