Lines Matching refs:contents
207 char contents[PATH_MAX]; in ocfile() local
247 (void) snprintf(contents, sizeof (contents), "%s/contents", pkgadm_dir); in ocfile()
257 if (stat64(contents, &statb) == -1) { in ocfile()
260 progerr(gettext(ERR_NOCFILE), contents); in ocfile()
268 if (statvfs64(contents, &svfsb) == -1) { in ocfile()
271 progerr(gettext(ERR_NOSTATV), contents); in ocfile()
309 progerr(gettext(ERR_CFBACK), contents); in ocfile()
374 char contents[PATH_MAX]; in socfile() local
649 char contents[PATH_MAX]; in iscfile() local
651 (void) snprintf(contents, PATH_MAX, "%s/contents", get_PKGADM()); in iscfile()
653 return (access(contents, F_OK) == 0 ? 1 : 0); in iscfile()
668 char contents[PATH_MAX]; in vcfile() local
674 (void) snprintf(contents, sizeof (contents), in vcfile()
682 fd = open(contents, O_WRONLY | O_CREAT | O_EXCL, 0644); in vcfile()
716 if (access(contents, F_OK) == 0) { in vcfile()
728 progerr(gettext(ERR_ACCESS_CONT), contents, in vcfile()
739 progerr(gettext(ERR_CREAT_CONT), contents, strerror(lerrno)); in vcfile()