Man page 9 : xdr_buf_trim
"XDR_BUF_TRIM" "9" "August 2013" "Kernel Hackers Manual 3.10" "Linux Networking"
Page d'accueil du man
Cette page de documentation est issue d'une conversion automatique de developpez.com.
Les traductions proviennent des sites Debian , Linux Kernel et du projet Perkamon .
N'hésitez pas à laisser vos suggestions, avis ou commentaires : 12 commentaires .
Article lu fois.
Publié le 27 août 2013Â
1. NAME▲
xdr_buf_trim - lop at most « len » bytes off the end of « buf »
2. SYNOPSIS ▲
void xdr_buf_trim(struct xdr_buf * buf , unsigned int len );
3. ARGUMENTS ▲
buf     buf to be trimmed
len     number of bytes to reduce « buf » by
4. DESCRIPTION ▲
Trim an xdr_buf by the given number of bytes by fixing up the lengths. Note that itAqs possible that weAqll trim less than that amount if the xdr_buf is too small, or if (for instance) itAqs all in the head and the parser has already read too far into it.
5. COPYRIGHT ▲
Le contenu de cet article est rédigé par Developpez.com et est mis à disposition selon les termes de la
Licence Creative Commons Attribution 3.0 non transposé .
Les logos Developpez.com, en-tête, pied de page, css, et look & feel de l'article sont Copyright © 2013 Developpez.com.