Lines Matching refs:fn
97 ewrmsg(type, str, fn) in ewrmsg() argument
99 int fn;
102 return(etwrmsg(type, str, fn, 0));
114 erdmsg(str, fn) in erdmsg() argument
117 return(etrdmsg(str, fn, 0));
130 ewrdata(fp1, fn) in ewrdata() argument
132 int fn;
169 ret = (*Write)(fn, cmsglen, sizeof(cmsglen));
180 ret = (*Write)(fn, bufr, (unsigned) len);
202 erddata(fn, fp2) in erddata() argument
224 ret = erdblk(cptr, len, fn);
229 ret = erdblk(cmsglen, sizeof(cmsglen), fn);
250 len = erdblk(bufr, (int) MIN(msglen, EBUFSIZ), fn);
294 erdblk(blk, len, fn) in erdblk() argument
307 if ((ret = (*Read)(fn, blk, (unsigned) len - i)) < 0) {
335 trdmsg(str, fn) in trdmsg() argument
338 return(etrdmsg(str, fn, TPACKSIZE));
351 twrmsg(type, str, fn) in twrmsg() argument
355 return(etwrmsg(type, str, fn, TPACKSIZE));
367 twrdata(fp1, fn) in twrdata() argument
369 int fn;
390 ret = (*Write)(fn, (char *)&bufr, (unsigned) len);
400 ret = write(fn, (char *)&bufr, sizeof(long));
416 trddata(fn, fp2) in trddata() argument
425 len = erdblk((char *)&Nbytes, sizeof(Nbytes), fn);
434 len = erdblk(bufr, nread, fn);
460 etrdmsg(str, fn, i) in etrdmsg() argument
484 len = (*Read)(fn, str, i);
526 etwrmsg(type, str, fn, len) in etwrmsg() argument
529 int fn, len;
555 ret = (*Write)(fn, bufr, (unsigned) len);