Home
last modified time | relevance | path

Searched refs:cnts (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/
H A Dpkgserv.c973 FILE *cnts; in pkgdump() local
984 cnts = fopen(TCONTENTS, "w"); in pkgdump()
986 if (cnts == NULL) in pkgdump()
990 if (fprintf(cnts, "%s\n", p->line) < 0) in pkgdump()
995 (void) fprintf(cnts, "%s\n", ccmnt[0]); in pkgdump()
997 (void) fprintf(cnts, "%s\n", ccmnt[1]); in pkgdump()
999 if (err != 0 || fflush(cnts) == EOF || fsync(fileno(cnts)) != 0 || in pkgdump()
1000 fclose(cnts) == EOF || rename(TCONTENTS, CONTENTS) != 0) { in pkgdump()
1175 FILE *cnts; in thr_pkgfilter() local
1177 cnts = fdopen(pf->cmd, "w"); in thr_pkgfilter()
[all …]
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_ncache.c233 int *cnts; in sdev_ncache_unpack_nvlist() local
265 DP_DEVNAME_NC_EXPIRECNT_ID, &cnts, &ncnts); in sdev_ncache_unpack_nvlist()
270 np->nvp_expirecnts[i] = cnts[i]; in sdev_ncache_unpack_nvlist()