Lines Matching refs:fpath
38 char fpath[_POSIX_PATH_MAX];
41 snprintf (fpath, sizeof(fpath), "%s,log", path);
45 err = hdf_read_file (m, fpath);
59 char fpath[_POSIX_PATH_MAX];
62 snprintf (fpath, sizeof(fpath), "%s,log", path);
66 if (rename (ftmp, fpath) == -1)
100 char fpath[_POSIX_PATH_MAX];
118 snprintf (fpath, sizeof (fpath), "%s,%d", path, version);
119 err = ne_load_file (fpath, data);
128 char fpath[_POSIX_PATH_MAX];
156 snprintf (fpath, sizeof (fpath), "%s,%d", path, version);
157 fd = open (fpath, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
160 err = nerr_raise_errno (NERR_IO, "Unable to create file %s", fpath);
167 err = nerr_raise_errno (NERR_IO, "Unable to write file %s", fpath);
192 char fpath[_POSIX_PATH_MAX];
194 snprintf (fpath, sizeof (fpath), "%s,lock", path);
195 err = fCreate (lock, fpath);