Home
last modified time | relevance | path

Searched refs:rootfile (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/keyserv/
H A Dkeylogin.c120 FILE *rootfile, *bakfile; in write_rootkey() local
151 (void) fclose(rootfile); in write_rootkey()
174 fprintf(rootfile, "%s\n", secret); in write_rootkey()
176 fprintf(rootfile, "%s", line); in write_rootkey()
177 (void) fflush(rootfile); in write_rootkey()
192 fprintf(rootfile, "%s", line); in write_rootkey()
193 (void) fflush(rootfile); in write_rootkey()
200 fprintf(rootfile, "%s\n", secret); in write_rootkey()
203 fprintf(rootfile, "\n"); in write_rootkey()
207 (void) fflush(rootfile); in write_rootkey()
[all …]
H A Dchkey.c741 FILE *rootfile, *bakfile; in write_rootkey() local
772 fclose(rootfile); in write_rootkey()
795 fprintf(rootfile, "%s\n", secret); in write_rootkey()
797 fprintf(rootfile, "%s", line); in write_rootkey()
798 fflush(rootfile); in write_rootkey()
813 fprintf(rootfile, "%s", line); in write_rootkey()
814 fflush(rootfile); in write_rootkey()
821 fprintf(rootfile, "%s\n", secret); in write_rootkey()
824 fprintf(rootfile, "\n"); in write_rootkey()
828 fflush(rootfile); in write_rootkey()
[all …]
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_subr.c607 FILE *rootfile; in nis_read_obj() local
616 rootfile = fopen(f, "rF"); in nis_read_obj()
617 if (rootfile == NULL) { in nis_read_obj()
623 xdrstdio_create(&xdrs, rootfile, XDR_DECODE); in nis_read_obj()
626 (void) fclose(rootfile); in nis_read_obj()
641 FILE *rootfile; in nis_write_obj() local
645 rootfile = fopen(f, "wF"); in nis_write_obj()
646 if (rootfile == NULL) { in nis_write_obj()
650 xdrstdio_create(&xdrs, rootfile, XDR_ENCODE); in nis_write_obj()
653 (void) fclose(rootfile); in nis_write_obj()