Home
last modified time | relevance | path

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

/titanic_41/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.c65 FILE *newfp = NULL; variable
310 if ((newfp = fdopen(tmpfd, "w")) == NULL) { in main()
325 (void) fclose(newfp); in main()
338 (void) fclose(newfp); in main()
339 newfp = NULL; in main()
H A Dgenmsg.h83 extern FILE *newfp; /* from main.c */
/titanic_41/usr/src/lib/libc/port/gen/
H A Dwalkstack.c165 uintptr_t newfp; in read_safe() local
170 if ((pread(fd, (void *)&newfp, sizeof (fp->fr_savfp), in read_safe()
180 if (newfp != 0) in read_safe()
181 newfp += STACK_BIAS; in read_safe()
183 *savefp = (struct frame *)newfp; in read_safe()
/titanic_41/usr/src/cmd/modload/
H A Ddrvsubr.c355 FILE *fp, *newfp; in delete_entry() local
427 if ((newfp = fdopen(newfd, "w")) == NULL) { in delete_entry()
447 if (fputs(line, newfp) == EOF) { in delete_entry()
468 if ((fputs(line, newfp)) == EOF) { in delete_entry()
493 if ((fputs(line, newfp)) == in delete_entry()
515 if (fflush(newfp) != 0 || fsync(fileno(newfp)) != 0) in delete_entry()
520 (void) fclose(newfp); in delete_entry()
1399 FILE *newfp; in update_minor_entry() local
1445 if ((newfp = fdopen(newfd, "w")) == NULL) { in update_minor_entry()
1475 if (fputs(line, newfp) == EOF) { in update_minor_entry()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dfio.c626 closeandsetf(int fd, file_t *newfp) in closeandsetf() argument
637 if (newfp == NULL) in closeandsetf()
642 if (newfp != NULL) { in closeandsetf()
668 ufp->uf_file = newfp; in closeandsetf()
798 setf(fd, newfp); in closeandsetf()
801 return (newfp == NULL ? error : 0); in closeandsetf()
/titanic_41/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtpm_specific.c299 FILE *fp, *newfp; in remove_uuid() local
317 newfp = fopen(tmpfname, "w+"); in remove_uuid()
318 if (newfp == NULL) { in remove_uuid()
328 (void) fprintf(newfp, "%s\n", line); in remove_uuid()
333 (void) fclose(newfp); in remove_uuid()
/titanic_41/usr/src/cmd/zonecfg/
H A Dzonecfg.c977 FILE *newfp; in pager_open() local
990 if ((newfp = popen(pager, "w")) == NULL) in pager_open()
993 return (newfp); in pager_open()
1020 FILE *newfp; in usage() local
1026 if ((newfp = pager_open()) != NULL) { in usage()
1028 fp = newfp; in usage()