Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/keyserv/
H A Dkeylogin.c122 FILE *rootfile, *bakfile; in write_rootkey() local
140 if (!(rootfile = fdopen(rootfd, "w"))) { in write_rootkey()
153 (void) fclose(rootfile); in write_rootkey()
176 fprintf(rootfile, "%s\n", secret); in write_rootkey()
178 fprintf(rootfile, "%s", line); in write_rootkey()
179 (void) fflush(rootfile); in write_rootkey()
192 fprintf(rootfile, "%s %d\n", secret, algtype); in write_rootkey()
194 fprintf(rootfile, "%s", line); in write_rootkey()
195 (void) fflush(rootfile); in write_rootkey()
202 fprintf(rootfile, "%s\n", secret); in write_rootkey()
[all …]
H A Dchkey.c741 FILE *rootfile, *bakfile; in write_rootkey() local
759 if (!(rootfile = fdopen(rootfd, "w"))) { in write_rootkey()
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()
811 fprintf(rootfile, "%s %d\n", secret, algtype); 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()
[all …]
/titanic_44/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()