Searched refs:rename (Results 1 - 24 of 24) sorted by relevance

/ast/src/lib/libast/comp/
H A Drename.c28 NoN(rename)
65 rename(const char* from, const char* to)
H A Domitted.c138 #define sysrename rename
800 rename(const char* fp, const char* tp) function
931 * rename to a `deleted' path just in case the file is open
/ast/src/lib/libcoshell/
H A Dcosync.c112 * the double rename flushes the incore vnode (and VNOCACHE)
122 if (!rename(file, tmp)) rename(tmp, file);
/ast/src/cmd/cs/vcs_src/
H A Difs_gopher.c88 rename( tmpfile, srv->lpath );
105 rename( tmpfile, "._dir" );
H A Difs_rsh.c76 rename( tmpfile, "._dir" );
94 rename( tmpfile, lpath );
H A Difs_ftp.c67 rename( flogname, "._log" );
382 rename( tmpfile, lpath );
419 rename( tmpfile, "._dir" );
/ast/src/lib/libast/include/
H A Dast_std.h318 #if !defined(rename)
319 extern int rename(const char*, const char*);
/ast/src/cmd/proto/
H A Dproto.c235 #define rename(x,y) ((link(x,y)||remove(x))?-1:0) macro
250 * rename newfile to oldfile
266 if (remove(oldfile) || rename(newfile, oldfile))
390 proto_error(b, 2, "cannot rename to", file);
/ast/src/cmd/msgcc/
H A Dmsggen.c508 * rename if no errors
519 if (rename(s, catfile))
520 error(ERROR_SYSTEM|3, "%s: cannot rename from temporary catalog file %s", catfile, s);
/ast/src/cmd/sortlib/vcodex/
H A Dvcodex.c145 if (rename(path, p))
146 error(ERROR_SYSTEM|1, "%s: cannot rename to %s", path, p);
/ast/src/cmd/probe/
H A Dprobe.c545 * verify and rename to the real probe key path
552 if (!rename(tmp, path))
568 error(ERROR_SYSTEM|2, "%s: cannot rename to %s", tmp, path);
/ast/src/lib/libcmd/
H A Dcp.c77 "[+NAME?mv - rename files]"
432 * let rename() handle it
537 if (rename(state->path, s))
558 if (!rename(ent->fts_path, state->path))
569 error(ERROR_SYSTEM|2, "%s: cannot rename to %s", ent->fts_path, state->path);
/ast/src/cmd/mailx/
H A Dquit.c180 if (rename(move, temp))
H A Dcmd3.c434 else if (rename(f, t)) {
435 note(SYSTEM, "%s: cannot rename to %s", f, t);
/ast/src/cmd/pax/
H A Dfile.c592 * copy to intermediate output file and rename
713 * close an openout() fd, doing the intermediate rename if needed
736 if (rename(s, f->name) && (remove(f->name) || rename(s, f->name)))
738 error(ERROR_SYSTEM|2, "%s: cannot rename from intermediate file %s", f->name, s);
/ast/src/cmd/ksh93/edit/
H A Dhistory.c483 if(rename(name,tmpname) < 0)
/ast/src/lib/libast/
H A DMakefile109 mkdir.c mkfifo.c mknod.c rmdir.c remove.c rename.c link.c unlink.c \
/ast/src/lib/libast/misc/
H A Dfastfind.c1088 if (rename(fp->encode.temp, fp->encode.file))
1091 (*fp->disc->errorf)(fp, fp->disc, ERROR_SYSTEM|2, "%s: cannot rename from tmp file %s", fp->encode.file, fp->encode.temp);
/ast/src/lib/libcs/
H A Dcss.c313 rename(css->mount, css->buf);
/ast/src/cmd/ksh93/sh/
H A Dio.c1118 rename(tname,name);
/ast/src/cmd/sort/
H A Dmain.c308 int preserve; /* rename() tmp output to input */
806 error(0, "%s rename output %s => %s", error_info.id, p, s);
1657 else if (remove(sp->key->output) || rename(sp->overwrite, sp->key->output))
/ast/src/cmd/at/
H A Datd.c1167 * if its too big then rename to .old and start fresh
1206 if (rename(AT_LOG_FILE, buf))
1207 error(ERROR_SYSTEM|AT_STRICT, "%s: cannot rename log file to %s", AT_LOG_FILE, buf);
/ast/src/cmd/INIT/
H A Dproto.c152 # define rename(x,y) ((link(x,y)||remove(x))?-1:0) macro
182 if (remove(oldfile) || rename(newfile, oldfile))
4955 proto_error(b, 2, "cannot rename to", file);
/ast/src/cmd/nmake/
H A Dobject.c1001 if (rename(state.tmpfile, objfile))

Completed in 58 milliseconds