/freebsd-11-stable/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_renameat.c | 66 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 D | mkfilters | 62 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 D | test_read_large.c | 33 #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 D | ufs_uprintf.c | 74 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 D | h_client.c | 100 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 D | updateBEDate | 32 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 D | checkrev.c | 30 if ((vfd == -1) && ((vfd = open(ipfname, O_RDONLY)) == -1)) { 31 perror("open device");
|
H A D | kvatoname.c | 29 fd = open(IPL_NAME, O_RDONLY);
|
H A D | nametokva.c | 28 fd = open(IPL_NAME, O_RDONLY);
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/cpc/ |
H A D | tst.platformevent.ksh | 43 open CPUSTAT, '/usr/sbin/cpustat -h |'
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestStopLock.java | 48 consumer.open();
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libuutil/common/ |
H A D | uu_open.c | 58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600);
|
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/ |
H A D | faccessat.h | 47 cfd = open(".", O_RDONLY | O_DIRECTORY);
|
H A D | fstatat.h | 44 cfd = open(".", O_RDONLY | O_DIRECTORY);
|
H A D | renameat.h | 46 cfd = open(".", O_RDONLY | O_DIRECTORY);
|
H A D | unlinkat.h | 43 cfd = open(".", O_RDONLY | O_DIRECTORY);
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | daemon.c | 70 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
|
/freebsd-11-stable/sys/mips/cavium/octe/ |
H A D | ethernet-sgmii.c | 55 priv->open = cvm_oct_common_open;
|
H A D | ethernet-xaui.c | 55 priv->open = cvm_oct_common_open;
|
/freebsd-11-stable/tools/tools/wtap/wtap/ |
H A D | wtap.c | 65 dev = open("/dev/wtapctl", O_RDONLY);
|
/freebsd-11-stable/sys/dev/wtap/ |
H A D | if_medium.h | 59 int open; member in struct:wtap_medium
|
/freebsd-11-stable/sys/i386/include/ |
H A D | pcaudioio.h | 53 unsigned char open; /* is device open */ member in struct:audio_prinfo
|
/freebsd-11-stable/share/examples/ses/srcs/ |
H A D | getnobj.c | 54 fd = open(name, O_RDONLY);
|
H A D | inienc.c | 51 fd = open(*v, O_RDWR);
|
H A D | setencstat.c | 56 fd = open(v[1], O_RDWR);
|