HomeSort by: relevance | last modified time | path
    Searched refs:O_CREAT (Results 1 - 25 of 705) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/gpl3/gdb/dist/sim/common/
target-newlib-open.c 41 #ifdef O_CREAT
42 { "O_CREAT", O_CREAT, 0x0200 },
  /src/external/gpl3/gdb.old/dist/sim/common/
target-newlib-open.c 41 #ifdef O_CREAT
42 { "O_CREAT", O_CREAT, 0x0200 },
  /src/lib/libc/compat-43/
creat.c 51 return(open(path, O_WRONLY|O_CREAT|O_TRUNC, mode));
  /src/external/apache2/llvm/dist/clang/docs/analyzer/checkers/
unix_api_example.c 4 int fd = open(path, O_CREAT);
6 // 'O_CREAT' flag is set
  /src/external/bsd/libpcap/dist/testprogs/
unix.h 51 #define O_CREAT _O_CREAT
  /src/lib/libc/stdio/
flags.c 75 o = O_CREAT | O_TRUNC;
81 o = O_CREAT | O_APPEND;
  /src/tests/kernel/kqueue/read/
t_file2.c 59 RL(fd1 = open("afile", O_RDONLY|O_CREAT, 0644));
60 RL(fd2 = open("bfile", O_RDONLY|O_CREAT, 0644));
  /src/sys/dev/microcode/rum/
build.c 38 fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
  /src/sys/dev/microcode/run/
build.c 38 fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
  /src/sys/dev/microcode/zyd/
build.c 37 fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
  /src/tests/lib/libc/c063/
t_symlinkat.c 66 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
91 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
114 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
135 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
t_o_search.c 82 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
112 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
144 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
177 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
206 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
236 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
268 ATF_REQUIRE((dfd = open(FILE, O_CREAT|O_SEARCH, 0644)) != -1);
286 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
326 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
t_fchmodat.c 69 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
92 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
141 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
159 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
  /src/external/cddl/osnet/dist/lib/libuutil/common/
uu_open.c 59 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600);
  /src/external/ibm-public/postfix/dist/src/util/
mkmap_dbm.c 98 if ((mkmap->lock_fd = open(mkmap->lock_file, O_CREAT | O_RDWR, 0644)) < 0)
102 if ((pag_fd = open(pag_file, O_CREAT | O_RDWR, 0644)) < 0)
mkmap_sdbm.c 95 if ((mkmap->lock_fd = open(mkmap->lock_file, O_CREAT | O_RDWR, 0644)) < 0)
99 if ((pag_fd = open(pag_file, O_CREAT | O_RDWR, 0644)) < 0)
safe_open.c 29 /* must appear either in combination with O_CREAT, or not at all.
105 if ((fp = vstream_fopen(path, flags & ~(O_CREAT | O_EXCL), 0)) == 0) {
203 * Create a non-existing file. This relies on O_CREAT | O_EXCL to not
206 if ((fp = vstream_fopen(path, flags | (O_CREAT | O_EXCL), mode)) == 0) {
250 switch (flags & (O_CREAT | O_EXCL)) {
261 case O_CREAT | O_EXCL:
270 case O_CREAT:
283 msg_panic("safe_open: O_EXCL flag without O_CREAT flag");
  /src/tests/fs/vfs/
t_io.c 57 RL(fd = rump_sys_open("file", O_RDWR|O_CREAT|O_TRUNC, 0666));
88 O_CREAT | O_RDWR | (seekcnt ? O_APPEND : 0), 0600));
125 RL(fd = rump_sys_open("testi", O_CREAT | O_RDWR, 0666));
164 RL(fd = rump_sys_open("file", O_RDWR|O_CREAT|O_TRUNC, 0666));
181 RL(fd = rump_sys_open("file", O_RDWR|O_CREAT, 0666));
208 RL(fd = rump_sys_open("file", O_RDWR|O_CREAT, 0666));
232 RL(fd = rump_sys_open("file", O_CREAT | O_RDWR, 0777));
t_mtime_otrunc.c 54 int f = rump_sys_open(LOCKFILE, O_WRONLY|O_CREAT|O_TRUNC, 0666);
t_unpriv.c 97 if (rump_sys_open(name, O_RDWR|O_CREAT, 0666) != -1 || errno != EACCES)
101 if ((fd = rump_sys_open(name, O_RDWR|O_CREAT, 0666)) == -1)
137 if ((fd = rump_sys_open(name, O_RDWR|O_CREAT, 0666)) == -1)
183 if ((fd = rump_sys_open(name, O_RDWR|O_CREAT, 0666)) == -1)
  /src/tests/kernel/
t_ksem.c 92 ATF_REQUIRE_EQ(_ksem_open("/ksem_x", O_CREAT | O_EXCL, 0644, 0, &ksem),
115 ATF_REQUIRE_EQ(_ksem_open("/ksem_b", O_CREAT | O_EXCL, 0644, 0, &ksem),
121 ATF_REQUIRE_EQ(_ksem_open("/ksem_b", O_CREAT | O_EXCL, 0644, 1, &ksem1),
  /src/lib/libutil/compat/
compat_login.c 69 if (tty > 0 && (fd = open(_PATH_UTMP, O_WRONLY|O_CREAT, 0644)) >= 0) {
  /src/lib/libutil/
login.c 61 if (tty > 0 && (fd = open(_PATH_UTMP, O_WRONLY|O_CREAT, 0644)) >= 0) {
  /src/sys/dev/microcode/ral/
build.c 38 fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
  /src/sys/external/bsd/acpica/dist/include/platform/
acwin64.h 91 #define O_CREAT _O_CREAT

Completed in 42 milliseconds

1 2 3 4 5 6 7 8 91011>>