Searched refs:rename (Results 226 - 250 of 298) sorted by relevance

1234567891011>>

/freebsd-current/tools/test/stress2/misc/
H A Dsendfile13.sh249 if (rename(ofile, nfile) != 0)
250 err(1, "rename(%s, %s)", ofile, nfile);
/freebsd-current/contrib/ntp/libntp/lib/isc/unix/
H A Dfile.c336 r = rename(oldname, newname);
/freebsd-current/usr.sbin/cron/crontab/
H A Dcrontab.c603 if (rename(tn, n)) {
/freebsd-current/libexec/ypxfr/
H A Dypxfr_main.c563 * kernel does an unlink() and rename() atomically in the event
568 if (rename(ypxfr_temp_map, buf) == -1) {
569 yp_error("rename(%s,%s) failed: %s", ypxfr_temp_map, buf,
/freebsd-current/stand/ficl/
H A Dfileaccess.c146 pushIor(pVM, !rename(from, to));
420 dictAppendWord(dp, "rename-file", ficlRenameFile, FW_DEFAULT);
/freebsd-current/usr.sbin/bluetooth/bthidd/
H A Dparser.y556 if (rename(path, hids_file) < 0) {
557 SYSLOG(LOGERR, "Could not rename new HIDs file '%s' to '%s'. " \
/freebsd-current/lib/libutil/
H A Dgr_util.c336 if (rename(tempname, group_file) != 0)
/freebsd-current/usr.sbin/services_mkdb/
H A Dservices_mkdb.c172 if (rename(tname, dbname) == -1 ||
179 err(1, "Cannot rename `%s' to `%s'", tname, dbname);
/freebsd-current/include/
H A Dstdio.h278 int rename(const char *, const char *);
/freebsd-current/contrib/elftoolchain/ar/
H A Dacpyacc.y473 if (rename(tmpac, target) < 0)
474 bsdar_errc(bsdar, errno, "rename failed");
/freebsd-current/contrib/wpa/hostapd/
H A Dhlr_auc_gw.c556 if (rename(fname, name) < 0) {
557 perror("rename");
562 if (rename(name, fname) < 0) {
563 perror("rename");
/freebsd-current/contrib/openbsm/libauditd/
H A Dauditd_lib.c128 "could not rename crash recovery file", /* ADE_RENAME (13) */
886 (void) rename(fname, tname);
889 return (rename(fromname, toname));
1123 /* Yes, rename it to a crash recovery file. */
/freebsd-current/usr.bin/ar/
H A Dacpyacc.y484 if (rename(tmpac, target) < 0)
485 bsdar_errc(bsdar, errno, "rename failed");
/freebsd-current/usr.bin/fetch/
H A Dfetch.c859 if (tmppath != NULL && rename(tmppath, path) == -1) {
860 warn("%s: rename()", path);
869 rename(tmppath, path); /* ignore errors here */
/freebsd-current/contrib/ntp/ntpd/
H A Dntpd.c1373 SCMP_SYS(rename),
1407 SCMP_SYS(rename),
H A Dntp_util.c287 if (_unlink(stats_drift_file)) /* rename semantics differ under NT */
294 if (rename(stats_temp_file, stats_drift_file))
296 "Unable to rename temp drift file %s to %s, %m",
299 /* we have no rename NFS of ftp in use */
/freebsd-current/crypto/openssh/
H A Dsftp-server.c154 { "rename", NULL, SSH2_FXP_RENAME, process_rename, 1 },
162 { "posix-rename", "posix-rename@openssh.com", 0,
725 compose_extension(msg, "posix-rename@openssh.com", "1");
1278 debug3("request %u: rename", id);
1279 logit("rename old \"%s\" new \"%s\"", oldpath, newpath);
1284 /* Race-free rename of regular files */
1298 * stat+rename. This is racy.
1301 if (rename(oldpath, newpath) == -1)
1317 if (rename(oldpat
[all...]
H A Dmoduli.c474 if (writeok && closeok && rename(tmp, cpfile) == 0) {
/freebsd-current/crypto/heimdal/lib/hdb/
H A Dhdb-sqlite.c777 ret = rename(hsdb->db_file, new_name);
/freebsd-current/contrib/ofed/opensm/opensm/
H A Dosm_db_files.c526 status = rename(p_tmp_file_name, p_domain_imp->file_name);
529 "Failed to rename the db file to:%s (err:%s)\n",
/freebsd-current/sbin/recoverdisk/
H A Drecoverdisk.c328 if (rename(buf, wworklist))
/freebsd-current/usr.sbin/btxld/
H A Dbtxld.c283 if (rename(tname, oname))
284 err(2, "%s: Can't rename to %s", tname, oname);
/freebsd-current/usr.sbin/config/
H A Dmain.cc574 * compare two files; rename if changed.
623 if (rename(from_path, to_path) < 0)
624 err(EX_OSERR, "rename(%s, %s)", from_path, to_path);
/freebsd-current/bin/sh/
H A Dhistedit.c120 rename(histtmpname, histfile) == -1)
/freebsd-current/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c167 * unlink/rename race.
512 * The rename means that everything is unlocked, as the original file
519 * Close locked password file after rename()
614 if (rename(from, to) != 0 ||

Completed in 425 milliseconds

1234567891011>>