Re: xdr_control and XDR_GET_BYTES_AVAIL, xdr_bytesrec
Re: xdr_control and XDR_GET_BYTES_AVAIL, xdr_bytesrec
- Subject: Re: xdr_control and XDR_GET_BYTES_AVAIL, xdr_bytesrec
- From: "Shawn Erickson" <email@hidden>
- Date: Fri, 17 Nov 2006 11:44:37 -0800
On 11/17/06, Rick Mann <email@hidden> wrote:
I'm porting some Solaris code, and it calls xdr_control() with
XDR_GET_BYTES_AVAIL and passes a pointer to an xdr_bytesrec record:
struct xdr_bytesrec {
bool_t xc_is_last_record;
size_t xc_num_avail;
};
I couldn't find this in Darwin headers, nor could I find any
documentation on xdr_control. Does anyone know if this operation is
supported in Darwin, and if not, what the equivalent (if any) might be?
Looks like some level of implementation exists as part of libinfo with
headers under /usr/include/rpc/
<http://darwinsource.opendarwin.org/10.4.2/Libinfo-221/rpc.subproj/xdr.h>
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden