Searched refs:fd0 (Results 1 - 14 of 14) sorted by relevance
/freebsd-current/contrib/less/ |
H A D | ttyin.c | 97 extern int fd0; 102 fd0 = dup(0);
|
H A D | edit.c | 21 public int fd0 = 0; variable 535 f = fd0; 902 if (isatty(fd0))
|
H A D | ch.c | 788 extern int fd0; 789 if (f == fd0 && !isatty(fd0))
|
H A D | screen.c | 28 extern int fd0; 701 * mode if fd0 is zero, since that means we were called before 705 if (fd0 != 0) 1184 * before any file operations have been done on fd0.
|
/freebsd-current/tests/sys/fs/fusefs/ |
H A D | flush.cc | 150 int fd0, fd1; local 163 fd0 = open(FULLPATH0, O_WRONLY); 164 ASSERT_LE(0, fd0) << strerror(errno); 169 EXPECT_EQ(0, close(fd0)) << strerror(errno);
|
H A D | allow_other.cc | 173 int fd0; 175 fd0 = open(FULLPATH, O_RDONLY); 176 if (fd0 >= 0) { 185 leak(fd0);
|
H A D | open.cc | 211 int fd0; 213 fd0 = open(FULLPATH, O_RDONLY); 214 if (fd0 < 0) { 218 leak(fd0);
|
H A D | readdir.cc | 251 int fd0, fd1; local 271 fd0 = open(FULLPATH, O_DIRECTORY); 272 ASSERT_LE(0, fd0) << strerror(errno); 277 r = getdirentries(fd0, buf, sizeof(buf), 0); 280 EXPECT_EQ(0, close(fd0)) << strerror(errno); 285 leak(fd0);
|
H A D | read.cc | 740 int fd0, fd1; local 748 fd0 = open(FULLPATH, O_RDONLY); 749 ASSERT_LE(0, fd0) << strerror(errno); 750 ASSERT_EQ(bufsize, read(fd0, buf, bufsize)) << strerror(errno); 761 leak(fd0); 775 int fd0, fd1; local 783 fd0 = open(FULLPATH, O_RDONLY); 784 ASSERT_LE(0, fd0) << strerror(errno); 785 ASSERT_EQ(bufsize, read(fd0, buf, bufsize)) << strerror(errno); 795 ASSERT_EQ(0, lseek(fd0, [all...] |
/freebsd-current/contrib/mandoc/ |
H A D | catman.c | 69 sock_fd_write(int fd, int fd0, int fd1, int fd2) argument 100 *(walk++) = fd0;
|
/freebsd-current/usr.bin/mail/ |
H A D | popen.c | 99 int myside, hisside, fd0, fd1; local 110 hisside = fd0 = fd1 = p[WRITE]; 113 hisside = fd0 = p[READ]; 117 pid = start_command(value("SHELL"), &nset, fd0, fd1, "-c", cmd, NULL);
|
/freebsd-current/tools/bus_space/ |
H A D | bus.c | 178 int fd0, rid; local 191 fd0 = r->fd; 202 r->fd = fd0;
|
/freebsd-current/crypto/openssh/ |
H A D | monitor.c | 1551 int r, res, fd0; local 1592 if ((fd0 = open(_PATH_DEVNULL, O_RDONLY)) == -1) 1594 if (fd0 != 0) 1595 error_f("fd0 %d != 0", fd0);
|
/freebsd-current/contrib/sendmail/src/ |
H A D | map.c | 639 ** fd0 - first fd (must be valid) 650 mapchown(mapname, fd0, fd1, filename) 652 int fd0; 659 if (fchown(fd0, TrustedUid, -1) < 0 ||
|
Completed in 171 milliseconds