Searched refs:open (Results 76 - 100 of 1407) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/netbsd-tests/lib/libc/c063/
H A Dt_renameat.c66 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
71 ATF_REQUIRE((ofd = open(ODIR, O_RDONLY, 0)) != -1);
72 ATF_REQUIRE((nfd = open(NDIR, O_RDONLY, 0)) != -1);
95 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
118 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
135 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
/freebsd-11-stable/contrib/ipfilter/
H A Dmkfilters62 open(NETSTAT, "/usr/etc/netstat -i|") || return 0;
72 open(I, "/usr/etc/ifconfig $1|") || return 0;
83 open(I, "ifconfig -a|") || return 0;
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_read_large.c33 #define open _open macro
80 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY);
82 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0755);
/freebsd-11-stable/tools/regression/ufs/uprintf/
H A Dufs_uprintf.c74 fd = open(BLOCKS_FILENAME, O_CREAT | O_TRUNC | O_RDWR, 0600);
76 err(-1, "fill_blocks: open(%s)", BLOCKS_FILENAME);
140 fd = open(path, O_CREAT | O_TRUNC | O_RDWR, 0600);
148 warn("fill_inodes: open(%s)", path);
153 fd = open(path, O_CREAT | O_TRUNC | O_RDWR, 0600);
155 warn("fill_inodes: open(%s) after ENOSPC", path);
159 warnx("fill_inodes: open(%s) after ENOSPC returned "
/freebsd-11-stable/contrib/netbsd-tests/lib/librumphijack/
H A Dh_client.c100 fd = open("/rump/dev/null", O_RDWR);
102 err(EXIT_FAILURE, "open");
124 if ((fd = open("/dev/null", O_RDWR)) == -1)
127 fd = open("/dev/null", O_RDWR);
132 if ((fd = open("/rump/dev/null", O_RDWR)) != 8)
133 errx(EXIT_FAILURE, "rump open %d %d", fd, errno);
/freebsd-11-stable/contrib/ntp/scripts/build/
H A DupdateBEDate32 open(my $IFILE, "<", $i) or die "Cannot open < $i: $!";
33 open(my $OFILE, ">", $i.".new") or die "Cannot open > $i.new: $!";
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dcheckrev.c30 if ((vfd == -1) && ((vfd = open(ipfname, O_RDONLY)) == -1)) {
31 perror("open device");
H A Dkvatoname.c29 fd = open(IPL_NAME, O_RDONLY);
H A Dnametokva.c28 fd = open(IPL_NAME, O_RDONLY);
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/cpc/
H A Dtst.platformevent.ksh43 open CPUSTAT, '/usr/sbin/cpustat -h |'
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestStopLock.java48 consumer.open();
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libuutil/common/
H A Duu_open.c58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600);
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/
H A Dfaccessat.h47 cfd = open(".", O_RDONLY | O_DIRECTORY);
H A Dfstatat.h44 cfd = open(".", O_RDONLY | O_DIRECTORY);
H A Drenameat.h46 cfd = open(".", O_RDONLY | O_DIRECTORY);
H A Dunlinkat.h43 cfd = open(".", O_RDONLY | O_DIRECTORY);
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Ddaemon.c70 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
/freebsd-11-stable/sys/mips/cavium/octe/
H A Dethernet-sgmii.c55 priv->open = cvm_oct_common_open;
H A Dethernet-xaui.c55 priv->open = cvm_oct_common_open;
/freebsd-11-stable/tools/tools/wtap/wtap/
H A Dwtap.c65 dev = open("/dev/wtapctl", O_RDONLY);
/freebsd-11-stable/sys/dev/wtap/
H A Dif_medium.h59 int open; member in struct:wtap_medium
/freebsd-11-stable/sys/i386/include/
H A Dpcaudioio.h53 unsigned char open; /* is device open */ member in struct:audio_prinfo
/freebsd-11-stable/share/examples/ses/srcs/
H A Dgetnobj.c54 fd = open(name, O_RDONLY);
H A Dinienc.c51 fd = open(*v, O_RDWR);
H A Dsetencstat.c56 fd = open(v[1], O_RDWR);

Completed in 428 milliseconds

1234567891011>>