Searched refs:O_CREAT (Results 126 - 150 of 540) sorted by relevance

1234567891011>>

/freebsd-13-stable/lib/libc/db/test/hash.tests/
H A Dtdel.c77 if (!(dbp = dbopen( NULL, O_CREAT|O_RDWR, 0400, DB_HASH, &ctl))) {
H A Dthash4.c79 if (!(dbp = dbopen( NULL, O_CREAT|O_RDWR, 0400, DB_HASH, &ctl))) {
/freebsd-13-stable/contrib/tcsh/
H A Ddotlock.c79 fd = open(path, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL|O_SYNC, 0);
/freebsd-13-stable/lib/libutil/
H A Dflopen.c62 if (flags & O_CREAT) {
/freebsd-13-stable/libexec/ypxfr/
H A Dypxfrd_getmap.c128 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 Dlargest_file.c82 fd = open(testfile, O_CREAT | O_RDWR, mode);
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/cmd/readmmap/
H A Dreadmmap.c75 fd = open(filename, O_RDWR|O_CREAT|O_TRUNC, 0666);
/freebsd-13-stable/contrib/nvi/ex/
H A Dex_mkexrc.c64 if ((fd = open(fname, O_CREAT | O_TRUNC | O_WRONLY,
/freebsd-13-stable/contrib/netbsd-tests/fs/puffs/
H A Dt_basic.c237 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 Dt_renamerace.c45 fd = rump_sys_open("/file", O_CREAT | O_RDWR, 0777);
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/c063/
H A Dt_mkdirat.c106 ATF_REQUIRE((fd = open(SDIR, O_CREAT|O_RDWR, 0644)) != -1);
H A Dt_mkfifoat.c106 ATF_REQUIRE((fd = open(FIFO, O_CREAT|O_RDWR, 0644)) != -1);
/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Dmktemp.c82 fd = open(path, O_CREAT|O_EXCL|O_RDWR, S_IRUSR|S_IWUSR);
/freebsd-13-stable/usr.bin/tip/tip/
H A Duucplock.c72 fd = open(tbuf, O_RDWR|O_CREAT|O_EXCL, 0660);
/freebsd-13-stable/tests/sys/cddl/zfs/bin/
H A Dreadmmap.c77 fd = open(filename, O_RDWR|O_CREAT|O_TRUNC, 0666);
/freebsd-13-stable/tests/sys/mqueue/
H A Dmqtest2.c40 mq = mq_open(MQNAME, O_CREAT | O_RDWR | O_EXCL, 0666, &attr);
/freebsd-13-stable/lib/libc/gen/
H A Dpututxline.c52 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 Dsem_new.c165 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 Dzfs_file_os.c48 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 Dfile-delete.c96 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 Dt_mmap.c251 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 Dposixshm_test.c122 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 Dutils.c180 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 Dt_fopen.c61 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 Dmktemp.c156 oflags |= O_CREAT | O_EXCL | O_RDWR;

Completed in 160 milliseconds

1234567891011>>