Home
last modified time | relevance | path

Searched refs:O_TRUNC (Results 1 – 25 of 198) sorted by relevance

12345678

/titanic_41/usr/src/lib/libast/common/comp/
H A Dopen.c66 if (op & O_TRUNC)
93 op &= ~(O_CREAT|O_TRUNC);
101 op |= O_TRUNC;
H A Dcreat64.c35 return open64(path, O_WRONLY|O_CREAT|O_TRUNC, mode);
H A Dsymlink.c48 if ((fd = open(b, O_CREAT|O_TRUNC|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0)
/titanic_41/usr/src/lib/libast/common/features/
H A Dfcntl.c258 #ifndef O_TRUNC in main()
261 if (O_TRUNC > o_local) o_local = O_TRUNC; in main()
298 #ifndef O_TRUNC in main()
/titanic_41/usr/src/lib/libbc/libc/sys/sys5/
H A Dfcntl.c61 #define FLAGS_MASK (O_SYNC|O_NONBLOCK|O_CREAT|O_TRUNC|O_EXCL \
122 if (arg & O_TRUNC)
164 narg |= O_TRUNC;
/titanic_41/usr/src/lib/libbc/libc/sys/4.2/
H A Dfcntl.c62 #define FLAGS_MASK (O_SYNC|O_NONBLOCK|O_CREAT|O_TRUNC|O_EXCL \
125 if (arg & O_TRUNC)
169 narg |= O_TRUNC;
/titanic_41/usr/src/cmd/sendmail/libsm/
H A Dstdio.c77 oflags = O_RDWR | O_CREAT | O_TRUNC;
83 oflags = O_WRONLY | O_CREAT | O_TRUNC;
423 oflags = O_WRONLY | O_CREAT | O_TRUNC;
/titanic_41/usr/src/lib/libcmd/common/
H A Dtee.c113 register int oflag = O_WRONLY|O_TRUNC|O_CREAT|O_BINARY; in b_tee()
134 oflag &= ~O_TRUNC; in b_tee()
/titanic_41/usr/src/lib/libast/common/sfio/
H A D_sfopen.c107 if(oflags&O_TRUNC ) /* truncate file */
186 oflags |= O_TRUNC;
/titanic_41/usr/src/cmd/svr4pkg/pkginstall/
H A Dcppath.c364 fd = open(a_file, O_WRONLY | O_CREAT | O_TRUNC, a_mode); in write_file()
367 fd = open(a_file, O_WRONLY | O_CREAT | O_TRUNC, a_mode); in write_file()
H A Dreqexec.c272 if ((fd = open(resppath, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, 0644)) < 0) { in reqexec()
310 fd = open(resppath, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, 0644); in chkexec()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dkrbfileio.c22 open_flag = O_CREAT|O_EXCL|O_TRUNC|O_RDWR; in krb5_create_secure_file()
/titanic_41/usr/src/lib/libbc/libc/sys/common/
H A D_creat.c34 #define CREATFLAGS (O_WRONLY | O_CREAT | O_TRUNC)
/titanic_41/usr/src/test/zfs-tests/cmd/mmapwrite/
H A Dmmapwrite.c77 if ((fd = open(argv[1], O_RDWR|O_CREAT|O_TRUNC, 0666)) == -1) { in main()
/titanic_41/usr/src/cmd/sendmail/db/os/
H A Dos_oflags.c46 if (oflags & O_TRUNC)
/titanic_41/usr/src/test/zfs-tests/tests/functional/threadsappend/
H A Dthreadsappend.c108 outfd = open(argv[optind++], O_RDWR|O_CREAT|O_APPEND|O_TRUNC, 0777); in main()
/titanic_41/usr/src/cmd/cdrw/
H A Dbstream.c557 fd = open(fname, O_RDWR|O_CREAT|O_TRUNC, 0666); in open_au_write_stream()
586 fd = open(fname, O_RDWR|O_CREAT|O_TRUNC, 0666); in open_wav_write_stream()
613 fd = open(fname, O_WRONLY|O_CREAT|O_TRUNC, 0666); in open_aur_write_stream()
630 fd = open(fname, O_WRONLY|O_CREAT|O_TRUNC, 0666); in open_file_write_stream()
/titanic_41/usr/src/test/zfs-tests/cmd/randfree_file/
H A Drandfree_file.c85 if ((fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, mode)) < 0) { in main()
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/db/
H A Ddb.c60 O_RDWR | O_SHLOCK | O_TRUNC | O_BINARY)
/titanic_41/usr/src/lib/libbc/libc/stdio/4.2/
H A Dfopen.c64 oflag = (plus ? O_RDWR : O_WRONLY) | O_TRUNC | O_CREAT; in _endopen()
/titanic_41/usr/src/lib/libbc/libc/stdio/sys5/
H A Dfopen.c58 oflag = (plus ? O_RDWR : O_WRONLY) | O_TRUNC | O_CREAT; in _endopen()
/titanic_41/usr/src/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c85 O_SYNC | O_TRUNC | O_XATTR); in main()
/titanic_41/usr/src/lib/libast/common/tm/
H A Dtvtouch.c150 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, mode)) < 0) in tvtouch()
274 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, mode)) < 0) in tvtouch()
/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Dcopyf.c112 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT, in copyf()
132 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT, in copyf()
/titanic_41/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rep.c314 if ((copy_fd = open(copy_rep, O_RDWR | O_CREAT | O_TRUNC, in update_fabric_wwn_list()
442 if ((tmp_fd = open(tmp_rep, O_RDWR|O_CREAT|O_TRUNC, in update_fabric_wwn_list()
537 if ((tmp_fd = open(tmp_rep, O_RDWR|O_CREAT|O_TRUNC, in update_fabric_wwn_list()

12345678