xdr.nts.ms (216178) | xdr.nts.ms (226436) |
---|---|
1.\" 2.\" Must use -- eqn -- with this one 3.\" 4.\" @(#)xdr.nts.ms 2.2 88/08/05 4.0 RPCSRC | 1.\" 2.\" Must use -- eqn -- with this one 3.\" 4.\" @(#)xdr.nts.ms 2.2 88/08/05 4.0 RPCSRC |
5.\" $FreeBSD: head/share/doc/psd/24.xdr/xdr.nts.ms 216178 2010-12-04 10:11:20Z uqs $ | 5.\" $FreeBSD: head/share/doc/psd/24.xdr/xdr.nts.ms 226436 2011-10-16 14:30:28Z eadler $ |
6.\" 7.EQ 8delim $$ 9.EN 10.de BT 11.if \\n%=1 .tl ''- % -'' 12.. 13.ND --- 702 unchanged lines hidden (view full) --- 716the bytes are serialized. 717.LP 718The effect of deserializing a string is subtle. 719First the length of the incoming string is determined; 720it must not exceed 721.I maxlength . 722Next 723.I sp | 6.\" 7.EQ 8delim $$ 9.EN 10.de BT 11.if \\n%=1 .tl ''- % -'' 12.. 13.ND --- 702 unchanged lines hidden (view full) --- 716the bytes are serialized. 717.LP 718The effect of deserializing a string is subtle. 719First the length of the incoming string is determined; 720it must not exceed 721.I maxlength . 722Next 723.I sp |
724is dereferenced; if the the value is | 724is dereferenced; if the value is |
725.I NULL , 726then a string of the appropriate length is allocated and 727.I *sp 728is set to this string. 729If the original value of 730.I *sp 731is non-null, then the XDR package assumes 732that a target area has been allocated, --- 1236 unchanged lines hidden --- | 725.I NULL , 726then a string of the appropriate length is allocated and 727.I *sp 728is set to this string. 729If the original value of 730.I *sp 731is non-null, then the XDR package assumes 732that a target area has been allocated, --- 1236 unchanged lines hidden --- |