Searched defs:pfile_tmp (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Duninstall.c51 FILE *pfile_tmp = NULL; local
146 if ((pfile_tmp = fopen(tmpfile_name, "w")) == NULL) {
205 if (fputs(buffer2, pfile_tmp) == EOF) {
211 if (fputs(buffer, pfile_tmp) == EOF) {
222 if (rv != KC_OK && pfile_tmp != NULL)
225 if (pfile_tmp != NULL)
226 (void) fclose(pfile_tmp);
H A Dinstall.c55 FILE *pfile_tmp = NULL; local
204 if ((pfile_tmp = fopen(tmpfile_name, "w")) == NULL) {
233 if (fputs(buffer, pfile_tmp) == EOF) {
239 if (fputs(ptr, pfile_tmp) == EOF) {
271 if (fputs(buf, pfile_tmp) == EOF) {
285 if (rv != KC_OK && pfile_tmp != NULL)
288 if (pfile_tmp != NULL)
289 (void) fclose(pfile_tmp);
H A Dmodify.c957 FILE *pfile_tmp = NULL; local
1081 if ((pfile_tmp = fopen(tmpfile_name, "w")) == NULL) {
1098 if (fputs(buffer, pfile_tmp) == EOF) {
1134 if (fputs(buffer, pfile_tmp) == EOF) {
1144 if (fputs(buffer, pfile_tmp) == EOF) {
1176 if (rv != KC_OK && pfile_tmp != NULL)
1179 if (pfile_tmp != NULL)
1180 (void) fclose(pfile_tmp);
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_util.c115 FILE *pfile_tmp; local
156 if ((pfile_tmp = fopen(tmpfile_name, "w")) == NULL) {
215 if (fputs(buffer, pfile_tmp) == EOF) {
222 if (fputs(entry, pfile_tmp) ==
228 if (fputs(ptr, pfile_tmp) ==
234 if (fputs(entry, pfile_tmp) == EOF) {
260 (void) fclose(pfile_tmp);
275 if (fputs(entry, pfile_tmp) == EOF) {
279 (void) fclose(pfile_tmp);
290 if (fclose(pfile_tmp) !
[all...]
H A Dadm_kef.c703 FILE *pfile_tmp = NULL; local
775 if ((pfile_tmp = fopen(tmpfile_name, "w")) == NULL) {
808 if (fputs(buffer, pfile_tmp) == EOF) {
813 if (fputs(str, pfile_tmp) == EOF) {
837 (void) fclose(pfile_tmp);
853 if (fputs(str, pfile_tmp) == EOF) {
857 (void) fclose(pfile_tmp);
869 if (fclose(pfile_tmp) != 0) {
H A Dadm_kef_util.c954 FILE *pfile_tmp = NULL; local
1024 if ((pfile_tmp = fopen(tmpfile_name, "w")) == NULL) {
1038 if (fputs(buffer, pfile_tmp) == EOF) {
1084 if (fputs(buffer, pfile_tmp) == EOF) {
1099 if (fputs(new_str, pfile_tmp) == EOF) {
1111 if (fclose(pfile_tmp) != 0) {
H A Dadm_uef.c785 FILE *pfile_tmp; local
843 if ((pfile_tmp = fopen(tmpfile_name, "w")) == NULL) {
895 if (fputs(buffer2, pfile_tmp) == EOF) {
900 if (fputs(buffer, pfile_tmp) == EOF) {
913 (void) fclose(pfile_tmp);
924 if (fclose(pfile_tmp) != 0) {
1125 FILE *pfile_tmp; local
1174 if ((pfile_tmp = fopen(tmpfile_name, "w")) == NULL) {
1234 if (fputs(buffer, pfile_tmp) == EOF) {
1246 (void) fclose(pfile_tmp);
[all...]

Completed in 80 milliseconds