/freebsd-11-stable/tools/regression/poll/ |
H A D | pipeselect.c | 68 fd = open(FIFONAME, O_RDONLY | O_NONBLOCK); 70 err(1, "open for read"); 191 fd2 = open(FIFONAME, O_RDONLY | O_NONBLOCK); 193 err(1, "open for read"); 224 fd = open(FIFONAME, O_WRONLY | O_NONBLOCK); 226 err(1, "open for write"); 249 fd = open(FIFONAME, O_WRONLY | O_NONBLOCK); 251 err(1, "open for write");
|
/freebsd-11-stable/tools/regression/priv/ |
H A D | priv_io.c | 85 fd = open(DEV_IO, O_RDONLY);
|
/freebsd-11-stable/tools/tools/tionxcl/ |
H A D | tionxcl.c | 87 fd = open(ttyname, O_RDWR); 89 warnc(errno, "open %s", ttyname);
|
/freebsd-11-stable/tools/tools/wtap/vis_map/ |
H A D | vis_map.c | 77 dev = open("/dev/visctl", O_RDONLY);
|
/freebsd-11-stable/usr.bin/cksum/ |
H A D | cksum.c | 114 if ((fd = open(fn, O_RDONLY, 0)) < 0) {
|
/freebsd-11-stable/share/dtrace/ |
H A D | hotopen | 32 * open/close. 43 syscall::open:entry
|
/freebsd-11-stable/share/examples/ses/srcs/ |
H A D | getobjmap.c | 54 fd = open(*v, O_RDONLY);
|
H A D | setobjstat.c | 60 fd = open(v[1], O_RDWR);
|
/freebsd-11-stable/usr.bin/tip/tip/ |
H A D | hunt.c | 78 * order to get an open file descriptor placed in FD. 79 * Otherwise, as for a DN-11, the open will have to 80 * be done in the "open" routine. 86 FD = open(cp, (O_RDWR |
|
/freebsd-11-stable/usr.sbin/bluetooth/ath3kfw/ |
H A D | ath3k_fw.c | 54 fd = open(fwname, O_RDONLY); 56 warn("%s: open: %s", __func__, fwname);
|
/freebsd-11-stable/tools/tools/ath/arcode/ |
H A D | arcode.c | 85 fd = open(file, O_RDONLY); 87 perror("open");
|
/freebsd-11-stable/contrib/libucl/python/tests/ |
H A D | test_validation.py | 25 with open(jsonfile) as f:
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | bsd-cygwin_util.c | 30 #define NO_BINARY_OPEN /* Avoid redefining open to binary_open for this file */ 51 return (open(filename, flags | O_BINARY, mode));
|
/freebsd-11-stable/crypto/openssh/regress/unittests/sshkey/ |
H A D | common.c | 46 ASSERT_INT_NE(fd = open(test_data_file(name), O_RDONLY), -1);
|
/freebsd-11-stable/tests/sys/audit/ |
H A D | file-attribute-access.c | 68 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1); 155 ATF_REQUIRE((filedesc = open(path, O_CREAT | O_RDWR, mode)) != -1); 248 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1); 292 ATF_REQUIRE((filedesc = open(path, O_CREAT | O_RDWR, mode)) != -1); 390 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1); 446 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1); 497 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1); 545 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1); 589 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1); 633 ATF_REQUIRE((filedesc = open(pat [all...] |
H A D | ioctl.c | 56 ATF_REQUIRE((filedesc = open("/dev/auditpipe", O_RDONLY)) != -1);
|
/freebsd-11-stable/tests/sys/geom/class/eli/ |
H A D | gentestvect.py | 25 _randfd = open('/dev/urandom', 'rb')
|
/freebsd-11-stable/tests/sys/vm/ |
H A D | mmap_test.c | 118 ATF_REQUIRE((devstatfd = open("/dev/devstat", O_RDONLY)) >= 0); 121 ATF_REQUIRE((zerofd = open("/dev/zero", O_RDONLY)) >= 0); 190 ATF_REQUIRE((fd = open("/dev/zero", O_RDONLY)) >= 0); 229 ATF_REQUIRE((fd = open("/dev/zero", O_RDWR)) >= 0);
|
/freebsd-11-stable/lib/libc/tests/gen/ |
H A D | realpath2_test.c | 81 fd = open("aaa", O_RDONLY | O_CREAT, 0600);
|
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/read/ |
H A D | t_fifo.c | 65 RL(fd = open(FIFONAME, O_RDWR, 0644));
|
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/write/ |
H A D | t_fifo.c | 66 RL(fd = open(FIFONAME, O_RDWR, 0644));
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_fexecve.c | 64 if ((fd = open("/usr/bin/touch", O_RDONLY, 0)) == -1) 65 err(EXIT_FAILURE, "open /usr/bin/touch");
|
/freebsd-11-stable/sbin/comcontrol/ |
H A D | comcontrol.c | 69 fd = open(argv[1], O_RDONLY|O_NONBLOCK, 0); 71 warn("couldn't open file %s", argv[1]);
|
/freebsd-11-stable/stand/libsa/ |
H A D | pager.c | 43 * 'open' the pager 138 if ((fd = open(fname, O_RDONLY)) == -1) { 139 printf("can't open '%s': %s\n", fname, strerror(errno));
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | id.h | 64 #define ID0open open
|