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

1 2 3 4 5 6

  /src/lib/libc/compat-43/
creat.c 51 return(open(path, O_WRONLY|O_CREAT|O_TRUNC, mode));
  /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/lib/libc/stdio/
flags.c 75 o = O_CREAT | O_TRUNC;
  /src/sys/dev/microcode/ral/
build.c 38 fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
  /src/tests/fs/vfs/
t_mtime_otrunc.c 54 int f = rump_sys_open(LOCKFILE, O_WRONLY|O_CREAT|O_TRUNC, 0666);
86 ATF_FSAPPLY(otrunc_mtime_update, "Checks for mtime updates by open(O_TRUNC) (PR kern/51762)");
t_io.c 57 RL(fd = rump_sys_open("file", O_RDWR|O_CREAT|O_TRUNC, 0666));
164 RL(fd = rump_sys_open("file", O_RDWR|O_CREAT|O_TRUNC, 0666));
  /src/tests/lib/libposix/
t_rename.c 57 REQUIRE_LIBC(open("t1", O_CREAT | O_TRUNC | O_WRONLY, 0600), -1);
  /src/sys/external/bsd/acpica/dist/include/platform/
acwin64.h 201 #define O_TRUNC _O_TRUNC
acwin.h 229 #define O_TRUNC _O_TRUNC
  /src/tests/lib/libc/sys/
t_syscall.c 71 fd = open(FILE_NAME, O_RDWR|O_CREAT|O_TRUNC, 0666);
96 fd = open(FILE_NAME, O_RDWR|O_CREAT|O_TRUNC, 0666);
  /src/lib/libc/db/db/
db.c 66 O_RDWR | O_SHLOCK | O_TRUNC | O_CLOEXEC)
  /src/usr.sbin/kvm_mkdb/
kvm_mkdb.c 163 db = dbopen(dbtemp, O_CREAT | O_EXLOCK | O_TRUNC | O_RDWR,
  /src/sys/arch/ews4800mips/stand/common/
coffhdrfix.c 118 if ((fdout = open(argp[2], O_CREAT | O_TRUNC | O_RDWR, 0644)) < 0) {
  /src/sys/arch/mvme68k/stand/wrtvid/
wrtvid.c 168 if ((fd = open(fn, O_WRONLY | O_CREAT | O_TRUNC, 0644)) < 0) {
  /src/usr.bin/mail/
dotlock.c 85 O_WRONLY|O_CREAT|O_TRUNC|O_EXCL|O_SYNC|O_CLOEXEC, 0);
  /src/usr.bin/tee/
tee.c 102 O_WRONLY|O_CREAT|O_TRUNC, DEFFILEMODE)) < 0) {
  /src/usr.sbin/makefs/
v7fs.c 112 if ((fd = open(image, O_RDWR | O_CREAT | O_TRUNC, 0666)) == -1) {
  /src/tests/kernel/
t_lockf.c 130 fd = open (lockfile, O_RDWR|O_CREAT|O_EXCL|O_TRUNC, 0666);
225 fd = open (lockfile, O_RDWR|O_CREAT|O_EXCL|O_TRUNC, 0666);
  /src/usr.sbin/sa/
usrdb.c 68 usracct_db = dbopen(NULL, O_RDWR|O_CREAT|O_TRUNC, 0644, DB_BTREE, &bti);
200 saved_usracct_db = dbopen(_PATH_USRACCT, O_RDWR|O_CREAT|O_TRUNC, 0644,
  /src/sys/sys/
fcntl.h 98 #define O_TRUNC 0x00000400 /* truncate to zero length */
138 O_ASYNC|O_SYNC|O_CREAT|O_TRUNC|O_EXCL|O_DSYNC|\
  /src/bin/dd/
dd.c 208 if ((oflag & O_TRUNC) && (ddflags & C_SEEK)) {
213 if ((oflag & O_TRUNC) && (ddflags & C_NOTRUNC)) {
220 (oflag | (ddflags & (C_SEEK | C_NOTRUNC) ? 0 : O_TRUNC))
  /src/usr.bin/mkdep/
mkdep.c 233 aflag = O_WRONLY | O_APPEND | O_CREAT | O_TRUNC;
250 aflag &= ~O_TRUNC;
471 aflag & O_TRUNC ? "write" : "append", filename);
  /src/bin/cp/
utils.c 158 to_fd = open(to.p_path, O_WRONLY | O_TRUNC, 0);
160 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
169 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,

Completed in 20 milliseconds

1 2 3 4 5 6