OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:from_fd
(Results
1 - 4
of
4
) sorted by relevancy
/src/bin/mv/
mv.c
278
int
from_fd
, to_fd;
local
282
if ((
from_fd
= open(from, O_RDONLY, 0)) < 0) {
289
(void)close(
from_fd
);
295
(void)close(
from_fd
);
299
while ((nread = read(
from_fd
, bp, blen)) > 0) {
318
(void)close(
from_fd
);
323
if (fcpxattr(
from_fd
, to_fd) == -1)
326
(void)close(
from_fd
);
/src/bin/cp/
utils.c
103
int ch, checkch,
from_fd
, rcount, rval, to_fd, tolnk, wcount;
local
117
if ((
from_fd
= open(entp->fts_path, O_RDONLY, 0)) == -1) {
144
(void)close(
from_fd
);
153
(void)close(
from_fd
);
175
(void)close(
from_fd
);
201
from_fd
, (off_t)0);
241
while ((rcount = read(
from_fd
, buf, MAXBSIZE)) > 0) {
258
if (pflag && (fcpxattr(
from_fd
, to_fd) != 0))
262
if (pflag && preserve_fd_acls(
from_fd
, to_fd) != 0)
266
(void)close(
from_fd
);
[
all
...]
/src/usr.sbin/pwd_mkdb/
pwd_mkdb.c
640
int
from_fd
, to_fd;
local
643
if ((
from_fd
= open(from, O_RDONLY, 0)) < 0)
646
(void)close(
from_fd
);
649
while ((rcount = read(
from_fd
, buf, MAXBSIZE)) > 0) {
652
(void)close(
from_fd
);
658
close(
from_fd
);
/src/usr.bin/xinstall/
xinstall.c
672
int devnull,
from_fd
, to_fd, serrno, tmpmode;
local
751
if ((
from_fd
= open(from_name, O_RDONLY, 0)) < 0) {
756
copy(
from_fd
, from_name, to_fd, to_name, from_sb.st_size);
757
(void)close(
from_fd
);
860
copy(int
from_fd
, char *from_name, int to_fd, char *to_name, off_t size)
913
MAP_FILE|MAP_SHARED,
from_fd
, (off_t)0))
954
while ((nr = read(
from_fd
, buf, sizeof(buf))) > 0) {
Completed in 20 milliseconds
Indexes created Sun Feb 22 16:20:20 UTC 2026