Searched refs:open (Results 201 - 225 of 1407) sorted by relevance

1234567891011>>

/freebsd-11-stable/sbin/ipfw/
H A Daltq.c56 pffd = open("/dev/pf", O_RDWR);
82 pffd = open("/dev/pf", O_RDONLY);
/freebsd-11-stable/contrib/ntp/sntp/unity/auto/
H A DparseOutput.rb35 output = File.open("report.xml", "w")
130 File.open(name).each do |line|
/freebsd-11-stable/contrib/ntp/util/
H A Daudio-pcm.c103 fd = open(dname, O_RDWR | O_NONBLOCK, 0777);
110 ctl_fd = open(actl, O_RDWR);
/freebsd-11-stable/usr.bin/gcore/
H A Dgcore.c128 efd = open(binfile, O_RDONLY, 0);
146 fd = open(corefile, O_RDWR|O_CREAT|O_TRUNC, DEFFILEMODE);
/freebsd-11-stable/share/examples/ses/srcs/
H A Dsesd.c97 * Check to make sure we can open all devices
100 fd = open(v[dev], O_RDWR);
124 fd = open(v[dev], O_RDWR);
/freebsd-11-stable/tools/tools/drm/
H A Dgen-drm_pciids16 open(my $fh, '<', $header) or die "Can't open Linux header: $!\n";
48 open(my $fh, '<', $header) or die "Can't open FreeBSD header: $!\n";
82 open(my $fh, '<', $header) or die "Can't open PCI IDs database: $!\n";
/freebsd-11-stable/tests/sys/audit/
H A Dfile-attribute-modify.c71 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1);
116 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1);
167 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1);
212 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1);
259 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1);
347 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1);
391 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1);
438 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1);
526 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1);
570 ATF_REQUIRE((filedesc = open(pat
[all...]
/freebsd-11-stable/tests/sys/file/
H A Dftruncate_test.c78 fd = open(path, O_RDWR|O_CREAT, 0600);
80 err(1, "open(%s, O_RDWR|O_CREAT, 0600)", path);
81 read_only_fd = open(path, O_RDONLY);
86 err(1, "open(%s, O_RDONLY)", path);
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/read/
H A Dt_file.c66 fd = open(FILENAME, O_WRONLY|O_APPEND, 0644);
68 err(EXIT_FAILURE, "open()");
98 RL(fd = open(FILENAME, O_RDONLY|O_CREAT, 0644));
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/c063/
H A Dt_mknodat.c79 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1);
137 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
/freebsd-11-stable/usr.bin/ar/
H A Dacplex.l64 OPEN|open { return (OPEN); }
/freebsd-11-stable/usr.bin/dc/
H A Ddc.c69 err(1, "cannot open file %s", fname);
102 fd = open(optarg, O_RDONLY);
104 err(1, "cannot open file %s", optarg);
134 fd = open(argv[0], O_RDONLY);
136 err(1, "cannot open file %s", argv[0]);
/freebsd-11-stable/usr.bin/cmp/
H A Dcmp.c119 else if ((fd1 = open(file1, oflag, 0)) < 0 && errno != EMLINK) {
133 else if ((fd2 = open(file2, oflag, 0)) < 0 && errno != EMLINK) {
/freebsd-11-stable/sbin/fsck_msdosfs/
H A Dcheck.c64 dosfs = open(fname, rdonly ? O_RDONLY : O_RDWR, 0);
66 dosfs = open(fname, O_RDONLY, 0);
76 perr("Can't open `%s'", fname);
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Dsbpf.c66 if ((fd = open(bpfname, O_RDWR)) < 0)
78 if ((fd = open(bpfname, O_RDWR)) >= 0)
/freebsd-11-stable/contrib/less/
H A Dttyin.c87 tty = open("CON", OPEN_READ);
106 tty = open(tty_device(), OPEN_READ);
/freebsd-11-stable/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_arc4.c54 fd = open("/dev/crypto", O_RDWR, 0);
56 err(1, "open");
H A Dh_cbcdes.c55 fd = open("/dev/crypto", O_RDWR, 0);
57 err(1, "open");
H A Dh_null.c50 fd = open("/dev/crypto", O_RDWR, 0);
52 err(1, "open");
/freebsd-11-stable/contrib/netbsd-tests/fs/common/
H A Dfstest_zfs.c67 if ((fd = open(image, O_RDWR | O_CREAT, 0777)) == -1)
/freebsd-11-stable/contrib/netbsd-tests/lib/librumphijack/
H A Dh_netget.c77 fd = open(argv[3], O_CREAT | O_RDWR, 0644);
79 err(EXIT_FAILURE, "open");
/freebsd-11-stable/contrib/apr-util/include/private/
H A Dapr_dbm_private.h52 apr_status_t (*open)(apr_dbm_t **pdb, const char *pathname, member in struct:__anon154
/freebsd-11-stable/contrib/libreadline/examples/rlfe/
H A Dpty.c227 if ((f = open(PtyName, O_RDWR | O_NOCTTY | O_NONBLOCK)) < 0)
261 if ((f = open(PtyName, O_RDWR | O_NOCTTY)) == -1)
297 if ((f = open (PtyName, O_RDWR | O_NOCTTY)) < 0)
355 if ((f = open(PtyName, O_RDWR | O_NOCTTY)) == -1)
/freebsd-11-stable/contrib/libstdc++/config/locale/generic/
H A Dmessages_members.h56 messages<_CharT>::open(const basic_string<char>& __s, const locale& __loc, function in class:messages
/freebsd-11-stable/contrib/libstdc++/config/locale/ieee_1003.1-2001/
H A Dmessages_members.h46 messages<_CharT>::open(const basic_string<char>& __s, const locale& __loc, function in class:messages

Completed in 633 milliseconds

1234567891011>>