/src/sys/arch/zaurus/stand/zboot/ |
loadfile_zboot.c | 107 int tofd; local in function:zboot_exec 126 tofd = uopen(_PATH_ZBOOT, LINUX_O_WRONLY); 127 if (tofd == -1) { 132 if (uwrite(tofd, bibuf, p - bibuf) != p - bibuf) 136 uclose(tofd); 141 tofd = uopen(_PATH_ZBOOT, LINUX_O_WRONLY); 142 if (tofd == -1) { 153 if ((sz = uwrite(tofd, buf, sz)) != sizeof(buf)) { 164 if (sz >= 0 && uwrite(tofd, buf, sz) != sz) { 169 uclose(tofd); [all...] |
loadfile_zboot.c | 107 int tofd; local in function:zboot_exec 126 tofd = uopen(_PATH_ZBOOT, LINUX_O_WRONLY); 127 if (tofd == -1) { 132 if (uwrite(tofd, bibuf, p - bibuf) != p - bibuf) 136 uclose(tofd); 141 tofd = uopen(_PATH_ZBOOT, LINUX_O_WRONLY); 142 if (tofd == -1) { 153 if ((sz = uwrite(tofd, buf, sz)) != sizeof(buf)) { 164 if (sz >= 0 && uwrite(tofd, buf, sz) != sz) { 169 uclose(tofd); [all...] |
loadfile_zboot.c | 107 int tofd; local in function:zboot_exec 126 tofd = uopen(_PATH_ZBOOT, LINUX_O_WRONLY); 127 if (tofd == -1) { 132 if (uwrite(tofd, bibuf, p - bibuf) != p - bibuf) 136 uclose(tofd); 141 tofd = uopen(_PATH_ZBOOT, LINUX_O_WRONLY); 142 if (tofd == -1) { 153 if ((sz = uwrite(tofd, buf, sz)) != sizeof(buf)) { 164 if (sz >= 0 && uwrite(tofd, buf, sz) != sz) { 169 uclose(tofd); [all...] |
loadfile_zboot.c | 107 int tofd; local in function:zboot_exec 126 tofd = uopen(_PATH_ZBOOT, LINUX_O_WRONLY); 127 if (tofd == -1) { 132 if (uwrite(tofd, bibuf, p - bibuf) != p - bibuf) 136 uclose(tofd); 141 tofd = uopen(_PATH_ZBOOT, LINUX_O_WRONLY); 142 if (tofd == -1) { 153 if ((sz = uwrite(tofd, buf, sz)) != sizeof(buf)) { 164 if (sz >= 0 && uwrite(tofd, buf, sz) != sz) { 169 uclose(tofd); [all...] |
/src/usr.bin/patch/ |
util.c | 172 int tofd, fromfd; local in function:copy_file 175 tofd = open(to, O_CREAT|O_TRUNC|O_WRONLY, 0666); 176 if (tofd < 0) 182 if (write(tofd, buf, i) != i) 185 close(tofd);
|
util.c | 172 int tofd, fromfd; local in function:copy_file 175 tofd = open(to, O_CREAT|O_TRUNC|O_WRONLY, 0666); 176 if (tofd < 0) 182 if (write(tofd, buf, i) != i) 185 close(tofd);
|
util.c | 172 int tofd, fromfd; local in function:copy_file 175 tofd = open(to, O_CREAT|O_TRUNC|O_WRONLY, 0666); 176 if (tofd < 0) 182 if (write(tofd, buf, i) != i) 185 close(tofd);
|
util.c | 172 int tofd, fromfd; local in function:copy_file 175 tofd = open(to, O_CREAT|O_TRUNC|O_WRONLY, 0666); 176 if (tofd < 0) 182 if (write(tofd, buf, i) != i) 185 close(tofd);
|