Home
last modified time | relevance | path

Searched refs:exists (Results 1 – 25 of 76) sorted by relevance

1234

/original-bsd/bin/cp/
H A Dutils.c152 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 Dln.c93 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 Dcompress.c169 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 DConfigure2044 : 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 Dreplace.c41 int afd, curfd, errflg, exists, mods, sfd, tfd1, tfd2; local
51 exists = !stat(archive, &sb);
54 if (!exists) {
/original-bsd/old/configttys/
H A Dconfigttys.c17 #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 Dhelp.c91 if (!exists(hfile))
104 if (!exists(hfile)) {
H A Drmchg.c154 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 Dhelp.c90 if (!exists(hfile))
103 if (!exists(hfile)) {
H A Drmchg.c154 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 DMakefile.inc3 .if exists(../Makefile.inc)
/original-bsd/usr.bin/learn/
H A DMakefile.inc3 .if exists(../Makefile.inc)
/original-bsd/share/mk/
H A Dbsd.own.mk3 .if exists(${.CURDIR}/../Makefile.inc)
/original-bsd/usr.bin/f77/libI77/
H A Dopen.c36 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 Dxcreat.c22 if (!exists(dname(d))) {
H A Dlockit.c45 if (exists(lockfile)) {
/original-bsd/local/sccscmds/sccscmds.ok/util/
H A Dxcreat.c22 if (!exists(dname(d))) {
H A Dlockit.c45 if (exists(lockfile)) {
/original-bsd/bin/sh/funcs/
H A Dcmv19 then echo "$2 exists"
/original-bsd/local/sccscmds/sccscmds.2/com/
H A Ddofile.c33 else if (exists(p) && (Statbuf.st_mode & S_IFMT) == S_IFDIR) {
/original-bsd/local/sccscmds/sccscmds.ok/com/
H A Ddofile.c33 else if (exists(p) && (Statbuf.st_mode & S_IFMT) == S_IFDIR) {
/original-bsd/sys/libkern/
H A DMakefile11 .if exists(${.CURDIR}/${MACHINE}/Makefile.inc)
/original-bsd/local/sccscmds/sccscmds.2/hdr/
H A Dmacros.h15 #define exists(file) (stat(file,&Statbuf)<0 ? 0:Statbuf.st_mode)
/original-bsd/local/sccscmds/sccscmds.ok/hdr/
H A Dmacros.h15 #define exists(file) (stat(file,&Statbuf)<0 ? 0:Statbuf.st_mode)
/original-bsd/usr.bin/uucp/
H A DTODO9 do not start uucico if /etc/shutdown exists

1234