Name

xdr_terminate_string — '\0'-terminate a string residing in an xdr_buf

Synopsis

void xdr_terminate_string (struct xdr_buf * buf,
 const u32 len);
 

Arguments

struct xdr_buf * buf

XDR buffer where string resides

const u32 len

length of string, in bytes