Searched refs:open (Results 251 - 275 of 1407) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/tools/regression/poll/
H A Dpipeselect.c68 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 Dpriv_io.c85 fd = open(DEV_IO, O_RDONLY);
/freebsd-11-stable/tools/tools/tionxcl/
H A Dtionxcl.c87 fd = open(ttyname, O_RDWR);
89 warnc(errno, "open %s", ttyname);
/freebsd-11-stable/tools/tools/wtap/vis_map/
H A Dvis_map.c77 dev = open("/dev/visctl", O_RDONLY);
/freebsd-11-stable/usr.bin/cksum/
H A Dcksum.c114 if ((fd = open(fn, O_RDONLY, 0)) < 0) {
/freebsd-11-stable/share/dtrace/
H A Dhotopen32 * open/close.
43 syscall::open:entry
/freebsd-11-stable/share/examples/ses/srcs/
H A Dgetobjmap.c54 fd = open(*v, O_RDONLY);
H A Dsetobjstat.c60 fd = open(v[1], O_RDWR);
/freebsd-11-stable/usr.bin/tip/tip/
H A Dhunt.c78 * 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 Dath3k_fw.c54 fd = open(fwname, O_RDONLY);
56 warn("%s: open: %s", __func__, fwname);
/freebsd-11-stable/tools/tools/ath/arcode/
H A Darcode.c85 fd = open(file, O_RDONLY);
87 perror("open");
/freebsd-11-stable/contrib/libucl/python/tests/
H A Dtest_validation.py25 with open(jsonfile) as f:
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-cygwin_util.c30 #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 Dcommon.c46 ASSERT_INT_NE(fd = open(test_data_file(name), O_RDONLY), -1);
/freebsd-11-stable/tests/sys/audit/
H A Dfile-attribute-access.c68 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 Dioctl.c56 ATF_REQUIRE((filedesc = open("/dev/auditpipe", O_RDONLY)) != -1);
/freebsd-11-stable/tests/sys/geom/class/eli/
H A Dgentestvect.py25 _randfd = open('/dev/urandom', 'rb')
/freebsd-11-stable/tests/sys/vm/
H A Dmmap_test.c118 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 Drealpath2_test.c81 fd = open("aaa", O_RDONLY | O_CREAT, 0600);
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/read/
H A Dt_fifo.c65 RL(fd = open(FIFONAME, O_RDWR, 0644));
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/write/
H A Dt_fifo.c66 RL(fd = open(FIFONAME, O_RDWR, 0644));
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/c063/
H A Dt_fexecve.c64 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 Dcomcontrol.c69 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 Dpager.c43 * '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 Did.h64 #define ID0open open

Completed in 134 milliseconds

<<11121314151617181920>>