Home
last modified time | relevance | path

Searched refs:newfp (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/genmsg/
H A Dgenmsg.l88 (void) fprintf(newfp, "%s", yytext);
94 (void) fprintf(newfp, "%s", yytext);
108 (void) fprintf(newfp, "%s", yytext);
122 (void) fprintf(newfp, "%c", yytext[0]);
133 (void) fprintf(newfp, "%c", yytext[0]);
144 (void) fprintf(newfp, "%s", yytext);
155 (void) fprintf(newfp, "%s", yytext);
166 (void) fprintf(newfp, "%s", yytext);
177 (void) fprintf(newfp, "%s", yytext);
188 (void) fprintf(newfp, "%s", yytext);
[all …]
H A Dmain.c63 FILE *newfp = NULL; variable
308 if ((newfp = fdopen(tmpfd, "w")) == NULL) { in main()
323 (void) fclose(newfp); in main()
336 (void) fclose(newfp); in main()
337 newfp = NULL; in main()
H A Dgenmsg.h81 extern FILE *newfp; /* from main.c */
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dwalkstack.c164 uintptr_t newfp; in read_safe() local
169 if ((pread(fd, (void *)&newfp, sizeof (fp->fr_savfp), in read_safe()
179 if (newfp != 0) in read_safe()
180 newfp += STACK_BIAS; in read_safe()
182 *savefp = (struct frame *)newfp; in read_safe()
/illumos-gate/usr/src/cmd/modload/
H A Ddrvsubr.c367 FILE *fp, *newfp; in delete_entry() local
439 if ((newfp = fdopen(newfd, "w")) == NULL) { in delete_entry()
459 if (fputs(line, newfp) == EOF) { in delete_entry()
480 if ((fputs(line, newfp)) == EOF) { in delete_entry()
505 if ((fputs(line, newfp)) == in delete_entry()
527 if (fflush(newfp) != 0 || fsync(fileno(newfp)) != 0) in delete_entry()
532 (void) fclose(newfp); in delete_entry()
1419 FILE *newfp; in update_minor_entry() local
1465 if ((newfp = fdopen(newfd, "w")) == NULL) { in update_minor_entry()
1495 if (fputs(line, newfp) == EOF) { in update_minor_entry()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dfio.c638 closeandsetf(int fd, file_t *newfp) in closeandsetf() argument
649 if (newfp == NULL) in closeandsetf()
654 if (newfp != NULL) { in closeandsetf()
680 ufp->uf_file = newfp; in closeandsetf()
811 setf(fd, newfp); in closeandsetf()
814 return (newfp == NULL ? error : 0); in closeandsetf()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtpm_specific.c303 FILE *fp, *newfp; in remove_uuid() local
321 newfp = fopen(tmpfname, "w+"); in remove_uuid()
322 if (newfp == NULL) { in remove_uuid()
332 (void) fprintf(newfp, "%s\n", line); in remove_uuid()
337 (void) fclose(newfp); in remove_uuid()
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c1004 FILE *newfp; in pager_open() local
1017 if ((newfp = popen(pager, "w")) == NULL) in pager_open()
1020 return (newfp); in pager_open()
1048 FILE *newfp; in usage() local
1054 if ((newfp = pager_open()) != NULL) { in usage()
1056 fp = newfp; in usage()