/original-bsd/bin/cp/ |
H A D | utils.c | 152 copy_link(p, exists) in copy_link() argument 154 int exists; 164 if (exists && unlink(to.p_path)) { 176 copy_fifo(from_stat, exists) in copy_fifo() argument 178 int exists; 180 if (exists && unlink(to.p_path)) { 192 copy_special(from_stat, exists) in copy_special() argument 194 int exists; 196 if (exists && unlink(to.p_path)) {
|
/original-bsd/bin/ln/ |
H A D | ln.c | 93 int exists; local 110 if (isdir || (exists = !stat(source, &sb)) && S_ISDIR(sb.st_mode)) { 117 exists = !stat(source, &sb); 119 exists = !stat(source, &sb); 125 if (fflag && exists && unlink(source) || (*linkf)(target, source)) {
|
/original-bsd/usr.bin/compress/ |
H A D | compress.c | 169 int exists, isreg, oreg; local 172 exists = !stat(out, &sb); 173 if (!force && exists && S_ISREG(sb.st_mode) && !permission(out)) 175 isreg = oreg = !exists || S_ISREG(sb.st_mode); 259 int exists, isreg, oreg; local 262 exists = !stat(out, &sb); 263 if (!force && exists && S_ISREG(sb.st_mode) && !permission(out)) 265 isreg = oreg = !exists || S_ISREG(sb.st_mode);
|
/original-bsd/contrib/perl-4.036/ |
H A D | Configure | 2044 : see if bcmp exists 2048 : see if bcopy exists 2098 : see if bzero exists 2165 : see if crypt exists 2317 : see if dup2 exists 2353 : see if flock exists 2377 : see if htonl exists 2425 : see if lstat exists 2491 : see if mkdir exists 2784 : see if rmdir exists [all …]
|
/original-bsd/usr.bin/ar/ |
H A D | replace.c | 41 int afd, curfd, errflg, exists, mods, sfd, tfd1, tfd2; local 51 exists = !stat(archive, &sb); 54 if (!exists) {
|
/original-bsd/old/configttys/ |
H A D | configttys.c | 17 #define exists(file) (access(file, 0) == 0) macro 103 if (exists(etc_ttys)) 108 if (exists(etc_ttys)) 113 if (exists(etc_conf)) 135 if (! exists(etc_conf)) 310 if (exists(etc_conf)) in readttys()
|
/original-bsd/local/sccscmds/sccscmds.2/cmd/ |
H A D | help.c | 91 if (!exists(hfile)) 104 if (!exists(hfile)) {
|
H A D | rmchg.c | 154 if (!exists(file)) { 252 if (exists(auxf(gpkt.p_file,'p'))) 373 if (exists(auxf(gpkt.p_file,'x'))) in clean_up()
|
/original-bsd/local/sccscmds/sccscmds.ok/cmd/ |
H A D | help.c | 90 if (!exists(hfile)) 103 if (!exists(hfile)) {
|
H A D | rmchg.c | 154 if (!exists(file)) { 252 if (exists(auxf(gpkt.p_file,'p'))) 373 if (exists(auxf(gpkt.p_file,'x'))) in clean_up()
|
/original-bsd/old/roff/ |
H A D | Makefile.inc | 3 .if exists(../Makefile.inc)
|
/original-bsd/usr.bin/learn/ |
H A D | Makefile.inc | 3 .if exists(../Makefile.inc)
|
/original-bsd/share/mk/ |
H A D | bsd.own.mk | 3 .if exists(${.CURDIR}/../Makefile.inc)
|
/original-bsd/usr.bin/f77/libI77/ |
H A D | open.c | 36 int n,exists; local 95 exists = (stat(buf,&sbuf)==NULL); 96 if(!exists && OLD) err(errflag,F_EROLDF,"open"); 97 if( exists && NEW) err(errflag,F_ERNEWF,"open");
|
/original-bsd/local/sccscmds/sccscmds.2/util/ |
H A D | xcreat.c | 22 if (!exists(dname(d))) {
|
H A D | lockit.c | 45 if (exists(lockfile)) {
|
/original-bsd/local/sccscmds/sccscmds.ok/util/ |
H A D | xcreat.c | 22 if (!exists(dname(d))) {
|
H A D | lockit.c | 45 if (exists(lockfile)) {
|
/original-bsd/bin/sh/funcs/ |
H A D | cmv | 19 then echo "$2 exists"
|
/original-bsd/local/sccscmds/sccscmds.2/com/ |
H A D | dofile.c | 33 else if (exists(p) && (Statbuf.st_mode & S_IFMT) == S_IFDIR) {
|
/original-bsd/local/sccscmds/sccscmds.ok/com/ |
H A D | dofile.c | 33 else if (exists(p) && (Statbuf.st_mode & S_IFMT) == S_IFDIR) {
|
/original-bsd/sys/libkern/ |
H A D | Makefile | 11 .if exists(${.CURDIR}/${MACHINE}/Makefile.inc)
|
/original-bsd/local/sccscmds/sccscmds.2/hdr/ |
H A D | macros.h | 15 #define exists(file) (stat(file,&Statbuf)<0 ? 0:Statbuf.st_mode)
|
/original-bsd/local/sccscmds/sccscmds.ok/hdr/ |
H A D | macros.h | 15 #define exists(file) (stat(file,&Statbuf)<0 ? 0:Statbuf.st_mode)
|
/original-bsd/usr.bin/uucp/ |
H A D | TODO | 9 do not start uucico if /etc/shutdown exists
|