Lines Matching refs:fp
31 ** fp -- the file pointer
41 sm_wbuf(fp, timeout, c)
42 register SM_FILE_T *fp;
56 fp->f_w = fp->f_lbfsize;
57 if (cantwrite(fp))
75 n = fp->f_p - fp->f_bf.smb_base;
76 if (n >= fp->f_bf.smb_size)
78 if (sm_io_flush(fp, timeout))
82 fp->f_w--;
83 *fp->f_p++ = c;
84 if (++n == fp->f_bf.smb_size || (fp->f_flags & SMLBF && c == '\n'))
85 if (sm_io_flush(fp, timeout))