Lines Matching refs:fn
94 ewrmsg(char type, char *str, int fn) in ewrmsg() argument
96 return(etwrmsg(type, str, fn, 0)); in ewrmsg()
108 erdmsg(char *str, int fn) in erdmsg() argument
110 return(etrdmsg(str, fn, 0)); in erdmsg()
123 ewrdata(fp1, fn) in ewrdata() argument
125 int fn;
162 ret = (*Write)(fn, cmsglen, sizeof(cmsglen));
173 ret = (*Write)(fn, bufr, (unsigned) len);
195 erddata(int fn, FILE *fp2) in erddata() argument
216 ret = erdblk(cptr, len, fn); in erddata()
221 ret = erdblk(cmsglen, sizeof(cmsglen), fn); in erddata()
242 len = erdblk(bufr, (int) MIN(msglen, EBUFSIZ), fn); in erddata()
286 erdblk(char *blk, int len, int fn) in erdblk() argument
298 if ((ret = (*Read)(fn, blk, (unsigned) len - i)) < 0) { in erdblk()
326 trdmsg(char *str, int fn) in trdmsg() argument
328 return(etrdmsg(str, fn, TPACKSIZE)); in trdmsg()
341 twrmsg(char type, char *str, int fn) in twrmsg() argument
343 return(etwrmsg(type, str, fn, TPACKSIZE)); in twrmsg()
355 twrdata(fp1, fn) in twrdata() argument
357 int fn;
378 ret = (*Write)(fn, (char *)&bufr, (unsigned) len);
388 ret = write(fn, (char *)&bufr, sizeof(long));
404 trddata(int fn, FILE *fp2) in trddata() argument
412 len = erdblk((char *)&Nbytes, sizeof(Nbytes), fn); in trddata()
421 len = erdblk(bufr, nread, fn); in trddata()
447 etrdmsg(char *str, int fn, int i) in etrdmsg() argument
469 len = (*Read)(fn, str, i); in etrdmsg()
511 etwrmsg(type, str, fn, len) in etwrmsg() argument
514 int fn, len;
540 ret = (*Write)(fn, bufr, (unsigned) len);