Searched refs:fp1 (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/bnu/
H A Dgnxseq.c41 register FILE *fp0, *fp1; local
64 if ((fp1 = fopen(SQTMP, "w")) == NULL) {
78 fputs(buf, fp1);
88 fprintf(fp1, "%s %d %d/%d-%d:%2.2d\n", name, ct,
96 fputs(buf, fp1);
99 fclose(fp1);
H A Dgio.c140 gwrdata(fp1, fn)
141 FILE *fp1;
152 fd1 = fileno( fp1 );
H A Dxio.c134 * read data from file fp1 and write
136 * fp1 -> file descriptor
143 xwrdata(fp1, fn)
144 FILE *fp1;
152 fd1 = fileno( fp1 );
H A Dcpmv.c166 xfappend(fp1, fp2)
167 register FILE *fp1, *fp2;
171 while (fgets(buf, sizeof (buf), fp1) != NULL) {
177 return (ferror(fp1) || ferror(fp2) ? FAIL : SUCCESS);
H A Deio.c121 * read data from file fp1 and write
123 * fp1 -> file descriptor
130 ewrdata(fp1, fn)
131 FILE *fp1;
152 fd1 = fileno(fp1);
359 * read data from file fp1 and write on link
360 * fp1 -> file descriptor
367 twrdata(fp1, fn)
368 FILE *fp1;
381 fstat(fileno(fp1),
[all...]
H A Ddio.c157 * read data from file fp1 and write
159 * fp1 -> file descriptor
166 dwrdata(fp1, fn)
167 FILE *fp1;
175 fd1 = fileno( fp1 );
H A Dfio.c222 fwrdata(fp1, fn)
223 FILE *fp1;
237 alen = fwrblk(fn, fp1, &flen);
242 } while (!feof(fp1) && !ferror(fp1));
253 fseek(fp1, 0L, 0);
H A Duuxqt.c68 DIR *fp1; local
185 fp1 = opendir(Spool);
186 ASSERT(fp1 != NULL, Ct_OPEN, Spool, errno);
193 closedir(fp1);
205 while (gdirf(fp1, dirname, Spool) == TRUE) {
221 closedir(fp1);
/illumos-gate/usr/src/uts/common/syscall/
H A Dpipe.c111 struct file *fp1, *fp2; local
132 if (error = falloc(vp1, FWRITE|FREAD, &fp1, &fd1)) {
144 if (error = fifo_stropen(&vp1, FWRITE|FREAD, fp1->f_cred, 0, 0))
149 fp1->f_cred, NULL);
161 flag1 = fp1->f_flag;
165 if (error = VOP_SETFL(vp1, flag1, iflags, fp1->f_cred, NULL)) {
168 fp1->f_flag |= iflags;
190 mutex_exit(&fp1->f_tlock);
192 setf(fd1, fp1);
205 (void) VOP_CLOSE(vp1, FWRITE|FREAD, 1, (offset_t)0, fp1
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dloadsave.c864 FILE *fp1 = NULL, *fp2 = NULL; local
878 fp1 = fopen((char *)iname, "r");
879 if (!fp1)
882 if (lockfile(fileno(fp1), F_RDLCK)) {
883 (void) fclose(fp1);
887 while (!feof(fp1)) {
888 (void) fgets((char *)tmp, 50, fp1);
889 if (feof(fp1))
914 (void) lockfile(fileno(fp1), F_UNLCK);
915 (void) fclose(fp1);
945 FILE *fp1 = NULL, *fp2 = NULL; local
1180 FILE *fp1, *fp2; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfopen.c352 ** When the mode (blocking or non-blocking) changes for fp1 then
359 ** fp1 -- the first file
367 sm_io_automode(fp1, fp2)
368 SM_FILE_T *fp1;
371 SM_REQUIRE_ISA(fp1, SmFileMagic);
374 fp1->f_modefp = fp2;
375 fp2->f_modefp = fp1;
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_client_debug.c587 nfs4_rfact_t *fp1, *fp2; local
604 fp1 = &cur_msg->rmsg_u.msg_fact;
605 if (fp1->rf_type != fp2->rf_type)
609 if (fp1->rf_action != fp2->rf_action)
611 if (fp1->rf_stat4 != fp2->rf_stat4)
613 if (fp1->rf_reboot != fp2->rf_reboot)
615 if (fp1->rf_op != fp2->rf_op)
617 if (fp1->rf_time.tv_sec != fp2->rf_time.tv_sec)
619 if (fp1->rf_error != fp2->rf_error)
621 if (fp1
[all...]
/illumos-gate/usr/src/lib/libc/amd64/unwind/
H A Dunwind.c235 uint64_t fp1 = ctx->current_regs[FP_RBP]; local
236 uint64_t fp2 = from_landing_pad ? fp1 : ((uint64_t *)fp1)[0];
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_output.c332 sctp_faddr_t *fp1; local
524 fp1 = SCTP_CHUNK_DEST(mdblk);
525 if (fp1 == NULL)
526 fp1 = sctp->sctp_current;
527 if (fp == fp1) {
539 if (fp1->sf_isv4)
544 count = chunksize = fp1->sf_pmss - sizeof (*sdc);
545 fp = fp1;
821 sctp_faddr_t *fp1; local
916 fp1
[all...]
H A Dsctp_common.c421 sctp_faddr_t *fp1, *fp2; local
423 for (fp1 = a1; fp1; fp1 = fp1->sf_next) {
426 if (IN6_ARE_ADDR_EQUAL(&fp1->sf_faddr,
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dtparm.c247 tparm(char *instring, long fp1, long fp2, long p3, long p4, argument
261 volatile long p1 = fp1, p2 = fp2; /* copy in case < 2 actual parms */
H A Dllib-lcurses1051 char *tparm(char *instring, long fp1, long fp2, long p3, long p4, long p5,

Completed in 89 milliseconds