Searched refs:tmpfp (Results 1 - 8 of 8) sorted by relevance
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/ |
H A D | delmap.c | 59 delmap(int flag, char *pkginst, PKGserver *pkgserver, VFP_T **tmpfp) argument 67 if (!ocfile(pkgserver, tmpfp, 0L) || 105 if (putcvfpfile(ept, *tmpfp)) { 110 (void) vfpSetModified(*tmpfp); 112 vfpPutc(*tmpfp, '-'); 113 vfpPuts(*tmpfp, ept->path); 114 vfpPutc(*tmpfp, '\n'); 156 n = swapcfile(*pkgserver, tmpfp, pkginst, dbchg);
|
H A D | main.c | 178 VFP_T *tmpfp; local 912 if (delmap(0, pkginst, &pkgserver, &tmpfp) != 0) { 1059 if (delmap(1, pkginst, &pkgserver, &tmpfp) != 0) {
|
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | packer.c | 66 static FILE *tmpfp[MAXTMP]; /* FILE *'s to (unlinked) temporary files */ variable 67 static int tmpfp_idx = 0; /* points to first free entry in tmpfp */ 76 * FILE pointer to it in tmpfp[] for later use. 101 if ((tmpfp[tmpfp_idx] = fdopen(fd, "w+F")) == NULL) { 110 if (fprintf(tmpfp[tmpfp_idx], "%s\n", &buf[offsets[i++]]) < 0) { 118 /* we have one extra tmpfp */ 313 (void) fseek(tmpfp[ti], 0, SEEK_SET); 314 (void) fgets(words[ti], MAXWORDLEN, tmpfp[ti]); 322 * swap the fp with the last fp in tmpfp[]. 340 if (fgets(words[choice], MAXWORDLEN, tmpfp[choic [all...] |
/illumos-gate/usr/src/cmd/cron/ |
H A D | crontab.c | 126 FILE *fp, *tmpfp; local 267 if ((tmpfp = fopen(edtemp, "w")) == NULL) 274 fputs(line, tmpfp); 275 if (ferror(tmpfp)) { 277 fclose(tmpfp); 284 fclose(tmpfp); 289 if (fclose(tmpfp) == EOF) 314 if ((tmpfp = fopen(edtemp, "r")) == NULL) 316 if (fstat(fileno(tmpfp), &stbuf) < 0) 373 * since we open the file descriptor 'tmpfp' befor [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | mkpkgmap.c | 124 FILE *tmpfp; local 137 if ((tmpfp = fopen(outfile, "w")) == NULL) { 340 if (ppkgmap(&entry, tmpfp)) { 355 (void) fclose(tmpfp);
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldapsearch.c | 952 FILE *tmpfp; local 1028 tmpfp = NULL; 1032 } else if (( tmpfp = ldaptool_open_file( tmpfname, mode)) == NULL ) { 1036 bvals[ i ]->bv_len, 1, tmpfp ) == 0 ) { 1058 if ( tmpfp != NULL ) { 1059 fclose( tmpfp );
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | devalloc.c | 1437 FILE *tmpfp = NULL; local 1450 if ((tmpfp = fdopen(tmpfd, "r+")) == NULL) { 1473 _write_defattrs(tmpfp, head_defent); 1477 rc = _write_new_defattrs(tmpfp, dargs); 1478 (void) fclose(tmpfp); 1480 (void) fclose(tmpfp);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/ |
H A D | ipqosconf.c | 9294 FILE *tmpfp; local 9344 tmpfp = fopen(tmppath, "w"); 9345 if (tmpfp == NULL) { 9353 (void) fprintf(tmpfp, "%s %d.%d\n\n", IPQOS_FMT_VERSION_STR, 9362 res = printaction(tmpfp, act, 0, 0); 9365 (void) fclose(tmpfp); 9370 (void) fclose(tmpfp);
|
Completed in 110 milliseconds