ixp_pu8.3 (972B)
1 .TH "IXP_PU8" 3 "2010 Jun" "libixp Manual" 2 3 .SH NAME 4 .P 5 ixp_pu8, ixp_pu16, ixp_pu32, ixp_pu64 6 7 .SH SYNOPSIS 8 .nf 9 #include <ixp.h> 10 11 void ixp_pu8(IxpMsg *msg, uchar *val); 12 13 void ixp_pu16(IxpMsg *msg, uint16_t *val); 14 15 void ixp_pu32(IxpMsg *msg, uint32_t *val); 16 17 void ixp_pu64(IxpMsg *msg, uint64_t *val); 18 .fi 19 20 .SH DESCRIPTION 21 .P 22 These functions pack or unpack an unsigned integer of the 23 specified size. 24 25 .P 26 If ImsgR\->mode is MsgPack, the value pointed to by IvalR is 27 packed into the buffer at ImsgR\->pos. If ImsgR\->mode is 28 MsgUnpack, the packed value at ImsgR\->pos is loaded into the 29 location pointed to by IvalR. In both cases, ImsgR\->pos is 30 advanced by the number of bytes read or written. If the call 31 would advance ImsgR\->pos beyond ImsgR\->end, ImsgR\->pos is 32 advanced, but nothing is modified. 33 34 .SH SEE ALSO 35 .P 36 IxpMsg(3) 37 38 39 .\" man code generated by txt2tags 2.5 (http://txt2tags.sf.net) 40 .\" cmdline: txt2tags -o- ixp_pu8.man3 41