centos man page for xdr_buf_trim

Query: xdr_buf_trim

OS: centos

Section: 9

Links: centos man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XDR_BUF_TRIM(9) 						 Linux Networking						   XDR_BUF_TRIM(9)

NAME
xdr_buf_trim - lop at most "len" bytes off the end of "buf"
SYNOPSIS
void xdr_buf_trim(struct xdr_buf * buf, unsigned int len);
ARGUMENTS
buf buf to be trimmed len number of bytes to reduce "buf" by
DESCRIPTION
Trim an xdr_buf by the given number of bytes by fixing up the lengths. Note that it's possible that we'll trim less than that amount if the xdr_buf is too small, or if (for instance) it's all in the head and the parser has already read too far into it.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 XDR_BUF_TRIM(9)
Related Man Pages
io_trywrite(3) - debian
ne_buffer_append(3) - debian
ne_buffer_concat(3) - debian
stralloc(3) - debian
ne_buffer_concat(3) - centos
Similar Topics in the Unix Linux Community
Weird 'find' results
DB2 convert digits to binary format
Tar Command
Unsure why access time on a directory change isn't changing
Controlling user input