fpath
char *fpath;
fpath = link;
while (*fpath == *tpath && *fpath != '\0') {
fpath++, tpath++;
while (*fpath != '\0') {
if (*fpath == '/') {
fpath++;
dconf_open(dumpconf_t *dcp, const char *dpath, const char *fpath, int dcmode)
if ((dcp->dc_conf_fd = open(fpath, O_RDWR | O_CREAT, DC_PERM)) == -1) {
if ((dcp->dc_conf_fd = open(fpath, O_RDONLY)) == -1) {
warn(gettext("failed to open %s"), fpath);
warn(gettext("failed to open stream for %s"), fpath);
fpath, line, name);
"invalid token: %s\n"), fpath, line, name);
fpath, line);
char fpath[PATH_MAX], bakfpath[PATH_MAX];
if (!ndmpd_make_bk_dir_path(fpath, fname)) {
(void) snprintf(bakfpath, PATH_MAX, "%s.bak", fpath);
fp = fopen(fpath, "r");
if (filecopy(bakfpath, fpath) != 0) {
fpath, bakfpath);
NDMP_LOG(LOG_DEBUG, "[%s][%s]", fpath, bakfpath);
(void) rename(bakfpath, fpath);
static void fpath(FILE *);
fpath(iop);
fpath(stderr);
char *dnpath, *path, *fpath, *nm;
if ((fpath = dev_path_fix(mp, path, d, f)) == NULL)
fpath, NULL);
"dev:///%s fmri creation failed.\n", fpath);
topo_mod_strfree(mp, fpath);
topo_mod_strfree(mp, fpath);
char *path, *fpath;
fpath = dev_for_hostbridge(did_mod(pd), path);
fpath = dev_path_fix(mp, path, d, f);
if (fpath == NULL)
tpgrp, tpnm, TOPO_PROP_IMMUTABLE, fpath, &err);
topo_mod_strfree(mp, fpath);
if ((fpath = (char *)malloc(dlen + 1 + flen + 1)) == NULL)
(void) memset(fpath, '\0', dlen + 1 + flen + 1);
(void) strncpy(fpath, dname, dlen);
fpath[dlen] = '/';
(void) strncat(fpath, fname, flen);
fpath = strdup(argv[0]);
fpath = strdup(argv[0]);
if (fpath == NULL)
if ((fd = open(fpath, flags, mode)) < 0)
if ((dp = opendir(fpath)) == NULL)
free(fpath);
char *fpath = NULL;