OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:to_fd
(Results
1 - 2
of
2
) sorted by null
/system/core/toolbox/upstream-netbsd/bin/cp/
utils.c
110
int ch, checkch, from_fd, rcount, rval,
to_fd
, tolnk, wcount;
local
119
to_fd
= -1;
155
to_fd
= open(to.p_path, O_WRONLY | O_TRUNC, 0);
157
to_fd
= open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
160
if (
to_fd
== -1 && (fflag || tolnk)) {
166
to_fd
= open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
170
if (
to_fd
== -1) {
181
(void)close(
to_fd
);
235
if (write(
to_fd
, &p[fsize - remainder],
256
wcount = write(
to_fd
, buf, (size_t)rcount)
[
all
...]
/system/core/toolbox/upstream-netbsd/bin/mv/
mv.c
261
int nread, from_fd,
to_fd
;
local
267
if ((
to_fd
=
277
(void)close(
to_fd
);
281
if (write(
to_fd
, bp, nread) != nread) {
290
(void)close(
to_fd
);
295
if (fcpxattr(from_fd,
to_fd
) == -1)
312
if (futimes(
to_fd
, tval))
315
if (fchown(
to_fd
, sbp->st_uid, sbp->st_gid)) {
320
if (fchmod(
to_fd
, sbp->st_mode))
323
if (fchflags(
to_fd
, sbp->st_flags) && (errno != EOPNOTSUPP)
[
all
...]
Completed in 773 milliseconds