-/* $OpenBSD: nfs.h,v 1.3 1996/10/29 08:08:51 mickey Exp $ */
+/* $OpenBSD: nfs.h,v 1.4 1996/11/27 19:52:23 niklas Exp $ */
/* $NetBSD: nfs.h,v 1.4 1995/09/18 21:19:39 pk Exp $ */
/*-
int nfs_open __P((char *path, struct open_file *f));
int nfs_close __P((struct open_file *f));
-ssize_t nfs_read __P((struct open_file *f, void *buf,
+int nfs_read __P((struct open_file *f, void *buf,
size_t size, size_t *resid));
-ssize_t nfs_write __P((struct open_file *f, void *buf,
+int nfs_write __P((struct open_file *f, void *buf,
size_t size, size_t *resid));
off_t nfs_seek __P((struct open_file *f, off_t offset, int where));
int nfs_stat __P((struct open_file *f, struct stat *sb));
-/* $OpenBSD: rpc.c,v 1.5 1996/10/16 14:18:36 mickey Exp $ */
+/* $OpenBSD: rpc.c,v 1.6 1996/11/27 19:52:25 niklas Exp $ */
/* $NetBSD: rpc.c,v 1.12 1996/02/26 23:05:26 gwr Exp $ */
/*
recv_head -= sizeof(*reply);
cc = sendrecv(d,
- sendudp, send_head, ((int)send_tail - (int)send_head),
- recvrpc, recv_head, ((int)recv_tail - (int)recv_head));
+ sendudp, send_head, send_tail - send_head,
+ recvrpc, recv_head, recv_tail - recv_head);
#ifdef RPC_DEBUG
if (debug)
}
recv_head += sizeof(*reply);
- return (ssize_t)((int)recv_tail - (int)recv_head);
+ return (ssize_t)(recv_tail - recv_head);
}
/*