Home
last modified time | relevance | path

Searched refs:openflags (Results 1 – 7 of 7) sorted by relevance

/freebsd/lib/libc/gen/
H A Dkqueue1.c39 kqueue1(int openflags) in kqueue1() argument
43 if ((openflags & ~(O_CLOEXEC | O_NONBLOCK)) != 0) { in kqueue1()
49 if ((openflags & O_CLOEXEC) != 0) in kqueue1()
/freebsd/sbin/ggate/ggatel/
H A Dggatel.c76 int openflags = O_RDWR; in g_gate_openflags() local
79 openflags = O_RDONLY; in g_gate_openflags()
81 openflags = O_WRONLY; in g_gate_openflags()
84 openflags |= O_DIRECT; in g_gate_openflags()
86 return (openflags); in g_gate_openflags()
/freebsd/lib/libutil/
H A Dquotafile.c113 quota_open(struct fstab *fs, int quotatype, int openflags) in quota_open() argument
149 qf->accmode = openflags & O_ACCMODE; in quota_open()
151 (openflags & O_CREAT) != O_CREAT) in quota_open()
/freebsd/lib/libsysdecode/
H A Dlinux.c232 print_mask_part(fp, openflags, &val, &printed); in sysdecode_linux_open_flags()
H A Dflags.c299 print_mask_part(fp, openflags, &val, &printed); in sysdecode_open_flags()
/freebsd/sys/contrib/zstd/programs/
H A Dfileio.c704 const int openflags = O_WRONLY|O_CREAT|O_TRUNC|O_BINARY; in FIO_openDstFile() local
705 const int fd = _open(dstFileName, openflags, mode); in FIO_openDstFile()
711 const int openflags = O_WRONLY|O_CREAT|O_TRUNC; in FIO_openDstFile()
712 const int fd = open(dstFileName, openflags, mode); in FIO_openDstFile()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_disk_posix.c2513 int fd, ret, openflags; in _archive_write_disk_close() local
2545 openflags = O_BINARY | O_NOFOLLOW | O_RDONLY in _archive_write_disk_close()
2549 openflags |= O_DIRECTORY; in _archive_write_disk_close()
2551 fd = open(p->name, openflags); in _archive_write_disk_close()