Searched refs:O_TRUNC (Results 1 - 25 of 195) sorted by relevance
12345678
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | creat64.c | 35 return open64(path, O_WRONLY|O_CREAT|O_TRUNC, mode);
|
H A D | open.c | 66 if (op & O_TRUNC) 93 op &= ~(O_CREAT|O_TRUNC); 101 op |= O_TRUNC;
|
H A D | symlink.c | 48 if ((fd = open(b, O_CREAT|O_TRUNC|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0)
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | krbfileio.c | 22 open_flag = O_CREAT|O_EXCL|O_TRUNC|O_RDWR;
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_ctf_open.c | 61 if ((fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, 0644)) < 0)
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | _creat.c | 34 #define CREATFLAGS (O_WRONLY | O_CREAT | O_TRUNC)
|
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_oflags.c | 46 if (oflags & O_TRUNC)
|
H A D | os_open.c | 77 flags |= O_TRUNC;
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mmapwrite/ |
H A D | mmapwrite.c | 77 if ((fd = open(argv[1], O_RDWR|O_CREAT|O_TRUNC, 0666)) == -1) {
|
/illumos-gate/usr/src/lib/libast/common/features/ |
H A D | fcntl.c | 258 #ifndef O_TRUNC 261 if (O_TRUNC > o_local) o_local = O_TRUNC; 298 #ifndef O_TRUNC 299 printf("#define O_TRUNC 0%o\n", o_local <<= 1);
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | io.sed.in | 68 SED_REPLACE(O_TRUNC)
|
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | fcntl.c | 62 #define FLAGS_MASK (O_SYNC|O_NONBLOCK|O_CREAT|O_TRUNC|O_EXCL \ 125 if (arg & O_TRUNC) 169 narg |= O_TRUNC;
|
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | fcntl.c | 61 #define FLAGS_MASK (O_SYNC|O_NONBLOCK|O_CREAT|O_TRUNC|O_EXCL \ 122 if (arg & O_TRUNC) 164 narg |= O_TRUNC;
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/4.2/ |
H A D | fopen.c | 64 oflag = (plus ? O_RDWR : O_WRONLY) | O_TRUNC | O_CREAT;
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/sys5/ |
H A D | fopen.c | 58 oflag = (plus ? O_RDWR : O_WRONLY) | O_TRUNC | O_CREAT;
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/io/ |
H A D | tst.fds.c | 85 O_SYNC | O_TRUNC | O_XATTR);
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/threadsappend/ |
H A D | threadsappend.c | 108 outfd = open(argv[optind++], O_RDWR|O_CREAT|O_APPEND|O_TRUNC, 0777); 112 "open(%s, O_RDWR|O_CREAT|O_APPEND|O_TRUNC, 0777)"
|
/illumos-gate/usr/src/test/zfs-tests/cmd/randfree_file/ |
H A D | randfree_file.c | 85 if ((fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, mode)) < 0) {
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/db/ |
H A D | db.c | 60 O_RDWR | O_SHLOCK | O_TRUNC | O_BINARY)
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | tee.c | 113 register int oflag = O_WRONLY|O_TRUNC|O_CREAT|O_BINARY; 134 oflag &= ~O_TRUNC;
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | _sfopen.c | 107 if(oflags&O_TRUNC ) /* truncate file */ 186 oflags |= O_TRUNC;
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | _endopen.c | 72 oflag = O_WRONLY | O_TRUNC | O_CREAT;
|
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | minfree.c | 82 FILE *fp = minfree_open(dir, O_WRONLY | O_CREAT | O_TRUNC, "w");
|
/illumos-gate/usr/src/test/zfs-tests/cmd/readmmap/ |
H A D | readmmap.c | 74 fd = open(filename, O_RDWR|O_CREAT|O_TRUNC, 0666);
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | fcntlcom.h | 74 #define O_TRUNC _FTRUNC macro
|
Completed in 59 milliseconds
12345678