Home
last modified time | relevance | path

Searched refs:sfd (Results 1 – 3 of 3) sorted by relevance

/glibc-2.36/stdio-common/
Dtst-fileno.c25 int sfd = fileno (stream); in check() local
26 printf ("(fileno (%s) = %d) %c= %d\n", name, sfd, in check()
27 sfd == fd ? '=' : '!', fd); in check()
28 return sfd != fd; in check()
/glibc-2.36/support/
Dshell-container.c96 int sfd = -1, dfd = -1; in copy_func() local
100 sfd = open (sname, O_RDONLY); in copy_func()
101 if (sfd < 0) in copy_func()
108 if (fstat (sfd, &st) < 0) in copy_func()
123 if (support_copy_file_range (sfd, 0, dfd, 0, st.st_size, 0) != st.st_size) in copy_func()
134 if (sfd >= 0) in copy_func()
135 close (sfd); in copy_func()
Dtest-container.c442 int sfd, dfd; in copy_one_file() local
446 sfd = open (sname, O_RDONLY); in copy_one_file()
447 if (sfd < 0) in copy_one_file()
450 if (fstat (sfd, &st) < 0) in copy_one_file()
457 xcopy_file_range (sfd, 0, dfd, 0, st.st_size, 0); in copy_one_file()
459 xclose (sfd); in copy_one_file()