Lines Matching defs:dstpath
9283 * write the configuration in conf to the file given in dstpath. This
9285 * file to dstpath. This assures an atomic write.
9291 char *dstpath)
9304 pathend = strrchr(dstpath, '/');
9306 /* dstpath in current dir */
9316 /* dstpath in root dir */
9318 } else if (pathend == dstpath) {
9330 tmppath = malloc(strlen(dstpath) + strlen("/ipqosconf.tmp") +
9336 (void) strcpy(tmppath, dstpath);
9374 if (rename(tmppath, dstpath) != 0) {