/original-bsd/lib/libc/compat-43/ |
H A D | creat.c | 22 return(open(path, O_WRONLY|O_CREAT|O_TRUNC, mode));
|
/original-bsd/lib/libc/stdio/ |
H A D | flags.c | 42 o = O_CREAT | O_TRUNC;
|
/original-bsd/sys/i386/floppy/cp/ |
H A D | cp.c | 31 else if ((to = open(argv[1], O_CREAT|O_TRUNC|O_WRONLY, 0666)) < 0)
|
/original-bsd/games/larn/ |
H A D | bill.c | 105 if ((fd = open(fname, O_WRONLY | O_TRUNC | O_CREAT), in mailbill()
|
/original-bsd/lib/libc/db/db/ |
H A D | db.c | 32 O_RDWR | O_SHLOCK | O_TRUNC)
|
/original-bsd/lib/libc/db/test/hash.tests/ |
H A D | tcreat3.c | 49 O_CREAT|O_TRUNC|O_RDWR, 0600, DB_HASH, &ctl))){
|
/original-bsd/usr.sbin/kvm_mkdb/ |
H A D | kvm_mkdb.c | 78 db = dbopen(dbtemp, O_CREAT | O_EXLOCK | O_TRUNC | O_RDWR,
|
/original-bsd/sys/sys/ |
H A D | fcntl.h | 62 #define O_TRUNC 0x0400 /* truncate to zero length */ macro
|
/original-bsd/usr.bin/ar/ |
H A D | extract.c | 66 if ((tfd = open(file, O_WRONLY|O_CREAT|O_TRUNC, S_IWUSR)) < 0) {
|
/original-bsd/bin/cp/ |
H A D | utils.c | 66 to_fd = open(to.p_path, O_WRONLY | O_TRUNC, 0); 68 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
|
/original-bsd/lib/libc/gmon/ |
H A D | gmon.c | 137 fd = open("gmon.out", O_CREAT|O_TRUNC|O_WRONLY, 0666); in _mcleanup() 143 log = open("gmon.log", O_CREAT|O_TRUNC|O_WRONLY, 0664); in _mcleanup()
|
/original-bsd/usr.bin/ktrace/ |
H A D | ktrace.c | 109 if ((fd = open(tracefile, O_CREAT | O_WRONLY | (append ? 0 : O_TRUNC),
|
/original-bsd/sys/kern/ |
H A D | vfs_vnops.c | 65 fmode &= ~O_TRUNC; 97 if (fmode & (FWRITE | O_TRUNC)) { 107 if (fmode & O_TRUNC) {
|
/original-bsd/usr.bin/tee/ |
H A D | tee.c | 74 O_WRONLY|O_CREAT|O_TRUNC, DEFFILEMODE)) < 0) {
|
/original-bsd/old/flcopy/ |
H A D | flcopy.c | 73 file = open("floppy", O_RDWR|O_CREAT|O_TRUNC, 0666);
|
/original-bsd/usr.sbin/dev_mkdb/ |
H A D | dev_mkdb.c | 74 db = dbopen(dbtmp, O_CREAT|O_EXLOCK|O_RDWR|O_TRUNC,
|
/original-bsd/contrib/sc/ |
H A D | crypt.c | 126 if ((fildes = open (busave, O_TRUNC|O_WRONLY|O_CREAT, 0600)) < 0)
|
/original-bsd/sbin/shutdown/ |
H A D | shutdown.c | 416 if ((fastfd = open(_PATH_FASTBOOT, O_WRONLY|O_CREAT|O_TRUNC, in doitfast() 435 if ((logfd = open(_PATH_NOLOGIN, O_WRONLY|O_CREAT|O_TRUNC, in nolog()
|
/original-bsd/usr.bin/cap_mkdb/ |
H A D | cap_mkdb.c | 89 if ((capdbp = dbopen(capname, O_CREAT | O_TRUNC | O_RDWR,
|
/original-bsd/contrib/gas-1.38/ |
H A D | input-file.c | 154 fd = open (temporary_file_name, O_WRONLY + O_TRUNC + O_CREAT, 0666);
|
/original-bsd/sys/pmax/stand/ |
H A D | mkboottape.c | 77 ofd = open(argv[0], O_CREAT|O_TRUNC|O_WRONLY, DEFFILEMODE);
|
/original-bsd/bin/mv/ |
H A D | mv.c | 176 open(to, O_CREAT | O_TRUNC | O_WRONLY, sbp->st_mode)) < 0) {
|
/original-bsd/bin/pax/ |
H A D | file_subs.c | 75 if ((fd = open(arcn->name, O_WRONLY | O_CREAT | O_TRUNC | O_EXCL, 93 if ((fd = open(arcn->name, O_WRONLY | O_CREAT | O_TRUNC,
|
/original-bsd/bin/sh/ |
H A D | redir.c | 145 if ((f = open(fname, O_WRONLY|O_CREAT|O_TRUNC, 0666)) < 0)
|
/original-bsd/usr.bin/pascal/src/ |
H A D | func.c | 162 case O_TRUNC:
|