/freebsd-13-stable/lib/libc/db/test/hash.tests/ |
H A D | tdel.c | 77 if (!(dbp = dbopen( NULL, O_CREAT|O_RDWR, 0400, DB_HASH, &ctl))) {
|
H A D | thash4.c | 79 if (!(dbp = dbopen( NULL, O_CREAT|O_RDWR, 0400, DB_HASH, &ctl))) {
|
/freebsd-13-stable/contrib/tcsh/ |
H A D | dotlock.c | 79 fd = open(path, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL|O_SYNC, 0);
|
/freebsd-13-stable/lib/libutil/ |
H A D | flopen.c | 62 if (flags & O_CREAT) {
|
/freebsd-13-stable/libexec/ypxfr/ |
H A D | ypxfrd_getmap.c | 128 if ((fp = open(tmpname, O_RDWR|O_CREAT, PERM_SECURE)) == -1) {
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/cmd/largest_file/ |
H A D | largest_file.c | 82 fd = open(testfile, O_CREAT | O_RDWR, mode);
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/cmd/readmmap/ |
H A D | readmmap.c | 75 fd = open(filename, O_RDWR|O_CREAT|O_TRUNC, 0666);
|
/freebsd-13-stable/contrib/nvi/ex/ |
H A D | ex_mkexrc.c | 64 if ((fd = open(fname, O_CREAT | O_TRUNC | O_WRONLY,
|
/freebsd-13-stable/contrib/netbsd-tests/fs/puffs/ |
H A D | t_basic.c | 237 fd = rump_sys_open("file", O_CREAT | O_RDWR, 0777); 274 fd = rump_sys_open("file", O_CREAT | O_RDWR, 0777); 315 fd = rump_sys_open("file", O_CREAT | O_RDWR, 0777); 367 fd = rump_sys_open("file", O_CREAT | O_RDWR, 0777);
|
/freebsd-13-stable/contrib/netbsd-tests/fs/tmpfs/ |
H A D | t_renamerace.c | 45 fd = rump_sys_open("/file", O_CREAT | O_RDWR, 0777);
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_mkdirat.c | 106 ATF_REQUIRE((fd = open(SDIR, O_CREAT|O_RDWR, 0644)) != -1);
|
H A D | t_mkfifoat.c | 106 ATF_REQUIRE((fd = open(FIFO, O_CREAT|O_RDWR, 0644)) != -1);
|
/freebsd-13-stable/crypto/openssh/openbsd-compat/ |
H A D | mktemp.c | 82 fd = open(path, O_CREAT|O_EXCL|O_RDWR, S_IRUSR|S_IWUSR);
|
/freebsd-13-stable/usr.bin/tip/tip/ |
H A D | uucplock.c | 72 fd = open(tbuf, O_RDWR|O_CREAT|O_EXCL, 0660);
|
/freebsd-13-stable/tests/sys/cddl/zfs/bin/ |
H A D | readmmap.c | 77 fd = open(filename, O_RDWR|O_CREAT|O_TRUNC, 0666);
|
/freebsd-13-stable/tests/sys/mqueue/ |
H A D | mqtest2.c | 40 mq = mq_open(MQNAME, O_CREAT | O_RDWR | O_EXCL, 0666, &attr);
|
/freebsd-13-stable/lib/libc/gen/ |
H A D | pututxline.c | 52 fd = _open(file, O_CREAT|O_RDWR|O_EXLOCK|O_CLOEXEC, 0644); 186 fd = _open(_PATH_UTX_ACTIVE, O_CREAT|O_RDWR|O_TRUNC, 0644); 277 fd = _open(_PATH_UTX_LOG, O_CREAT|O_WRONLY|O_APPEND|O_CLOEXEC, 0644);
|
H A D | sem_new.c | 165 if (flags & ~(O_CREAT|O_EXCL)) { 169 if ((flags & O_CREAT) != 0) { 187 if ((flags & (O_CREAT | O_EXCL)) == (O_CREAT |
|
/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_file_os.c | 48 if (!(flags & O_CREAT) && (flags & O_WRONLY)) 51 if (flags & O_CREAT) 56 if (flags & O_CREAT)
|
/freebsd-13-stable/tests/sys/audit/ |
H A D | file-delete.c | 96 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1); 139 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1); 182 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1);
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_mmap.c | 251 fd = open(path, O_RDWR | O_CREAT, 0600); 304 fd = open(path, O_WRONLY | O_CREAT, 0700); 379 fd = open(path, O_RDWR | O_CREAT, 0700); 435 fd = open(path, O_RDWR | O_CREAT, 0700); 483 fd = open(path, O_RDWR | O_CREAT, 0700);
|
/freebsd-13-stable/tests/sys/posixshm/ |
H A D | posixshm_test.c | 122 fd = shm_open(path, O_CREAT|O_EXCL|O_RDWR, 0777); 126 fd = shm_open(test_path, O_CREAT | O_EXCL | O_RDWR, 0777); 447 fd = shm_open(test_path, O_RDONLY | O_CREAT, 0777); 471 fd = shm_open(test_path, O_RDONLY | O_CREAT, 0777); 556 fd = shm_open(test_path, O_RDONLY|O_CREAT, 0777); 560 shm_open_should_fail(test_path, O_RDONLY|O_CREAT|O_EXCL, 576 fd = shm_open(test_path, O_RDWR | O_CREAT, 0777); 627 fd = shm_open(SHM_ANON, O_CREAT|O_RDWR, 0777); 796 desc = shm_open(test_path, O_EXCL | O_CREAT | O_RDWR, 0600); 882 fd = shm_open(test_path, O_CREAT | O_RDW [all...] |
/freebsd-13-stable/contrib/atf/atf-c/ |
H A D | utils.c | 180 const int output = open(destination, O_WRONLY | O_CREAT | O_TRUNC, 0777); 219 const int fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644); 407 const int new_fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/stdio/ |
H A D | t_fopen.c | 61 fd = open(path, O_RDWR | O_CREAT, 0600); 88 fd = open(path, O_RDONLY | O_CREAT, 0600); 129 fd = open(path, O_RDWR | O_CREAT, 0600);
|
/freebsd-13-stable/lib/libc/stdio/ |
H A D | mktemp.c | 156 oflags |= O_CREAT | O_EXCL | O_RDWR;
|